I just created a new user (I was logged in as root to do so) with the adduser utility. I gave the new user his own home directory. If I check the /etc/passwd file, it shows the users home folder is correct and even when I ssh into the server as that user it starts me off in the correct folder. However, whenever I type "cd ~", it takes me to /root. Anyone know how I can fix this?
|
feedback
|
|
There are a few things to check:
Hope these tips (and their explanations) help! | |||
feedback
|
|
Did you log in as the user or did you | |||
|
feedback
|
|
it's because youe euid is root. So you've done su or sudo to have root rights | |||
|
feedback
|
|
Just to be sure, you did assign this user his own uid, and he's not using the same uid as root? | |||
|
feedback
|