I created a new non-root user and did the following:
useradd -m newusername
passwd newusername
usermod -a -G sudo newusername
chsh -s /bin/bash newusername
I need to install software as a non-root user, but when I'm logged in as that user,
cd Downloads
does nothing. The directory doesn't exist. Did I do something wrong when creating the user, or am I missing something?
cd /home/newusername/Downloads
does not work either.
adduser
instead ofuseradd
. – guntbert Jun 05 '16 at 11:34cd /home/newusername/Downloads
what makes you think it didn't work? What is the output ofpwd
after you didcd /home/newusername/Downloads
? – MadMike Jun 06 '16 at 06:03