I want to create user with least privileges. Without home, without rights, without shell. How to do that? When I call useradd it creates user with home

link|improve this question

3  
Did you even look at the manual for useradd? – Cylindric Dec 16 '11 at 16:33
feedback

1 Answer

up vote 6 down vote accepted

Per the man page, this command will create a user with no home directory, and no shell.

 useradd -M -s /bin/false <desired username>
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.