Leap 15.0 /home/USER not found?

Hi Everyone, what am I missing, used useradd to create a user but there is no directory under/home/ for the user?

I am setting up a ssh key but do not have a /home/USER/.ssh/ directory to add entry to authorized_keys ??

Any help pls…

Regards
Felix

Hi
I would surmise you forgot the -m option to add the directory… You can use usermod command to add;


usermod -d  /home/USER

In openSUSE the other option is YaST (yast users).

… which does ALL of the work automatically, so really the easiest and most thorough way.