Kali 2015-06-18
From charlesreid1
Fixing user accounts
When I created my new user login, I didn't do anything except test that I could log in. Once I tried to start doing stuff, I was getting permissions errors in my home directory. I needed to change permissions on my home directory. I also needed to change my shell from /bin/sh to /bin/bash.
To adjust permissions (as root):
# chown charles /home/charles
To change shell:
$ chsh
Adding dotfiles
Clone dotfile repo from github
Copy dotfiles into place
Need to make a Fabric file to do this - either copy dotfiles into github repo, or copy github repo into dotfiles
Had to edit git config because git version on Kali Linux was version 1, not version 2.
This led to problems with vimrc. Had to run mkdir -p ~/.vim/swap
Also had some issues with my PS1 variable not wrapping lines properly. Fixed that.
Also had some issues with my workflow, ssh keys, scripts, copying files around, pushing changes from one bashrc to another, etc.
Need to use Python or Ruby to create a Fabric file, but also create a quick template engine, so I can say, "Make bashrc for computer A use (common) chunk 1, chunk 2, then its own chunk, then chunk 5."
Building git v2
Dowloaded latest tag from git repo on github.
Untarred the tar file with
tar -xvf git-2.4.4.tar
Ran this command to make everything:
make prefix=/usr all doc info