0

I want to make an user that have no home folder and no login ability.

sudo useradd -s /bin/false [demouser]

I omitted -m parameter since that makes the home folder for the demouser.

I did -s /bin/false option for making this demouser cannot login.

  • Have I done it right?

  • Is the the option -s /bin/nologin the same as above?

Yaron
  • 13,453
Smile
  • 1,129

0 Answers0