Penguin
Note: You are viewing an old revision of this page. View the current version.

Sometimes you want to add a user that does not have it's own home directory. For example : I may want an xbox account that will only ever be used for accessing samba shares.

There is a nice switch when using the 'adduser' command to avoid creating a home directory.

  • --no-create-home

So in my xbox example I would do:

  • sudo adduser --no-create-home xbox