141
rated 0 times
[
141]
[
0]
/ answers: 1 / hits: 307417
/ 1 Year ago, sun, march 5, 2023, 11:41:29
I am trying to understand system administration on Ubuntu. So, as an example, I create a dummy user using
sudo useradd -d /home/linda linda
and passwd
to create the password. I check that an entry has been made using cat /etc/passwd
linda:x:1004:1004::/home/linda:/bin/sh
However, when I su - linda
, I get
No directory, logging in with HOME=/
and indeed, no home directory has been created. What am I missing?
Thanks.
More From » command-line