0

Adduser without home directory

Hi, I want to know is there any option to create a Linux user, but i don' t want to create a home directory for the user.

Linux useradd Add a comment
kimweasley
asked Jan 12 2018

Answer

0

Yes there is a option in useradd command to create a user without creating home directory,

useradd -M username

or

useradd --no-create-home username
Add a comment
parthiban
asked Jan 12 2018
edited Oct 05 2018
Post your Answer