Hi,
I just created a new user as root with the command
useradd newuser
I then assign a password with the command:
passwd newuser
I assign password with success and then I open another shell window and attempt to login with the new user. Each time I get to the point where I enter my password I get permission denied. I've changed the password several times for this user but I still keep getting permission denied.
Anyone know what's going on?
sudo mkdir /home/newuser && sudo useradd newuser -d /home/newuser && sudo chown -R newuser:newuser /home/newuser
– dave Oct 22 '12 at 7:28