Kali 2015-06-18: Difference between revisions
From charlesreid1
| Line 2: | Line 2: | ||
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. | 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): | |||
<pre> | |||
# chown charles /home/charles | |||
</pre> | |||
To change shell: | |||
<pre> | |||
$ chsh | |||
</pre> | |||
=Adding dotfiles= | =Adding dotfiles= | ||
Revision as of 19:08, 18 June 2015
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