Hot answers tagged useradd
It must have a home directory listed in /etc/passwd. Usually that will be whatever directory you store the web pages / config files in, though if you want to make sure it's a directory that doesn't exist, /nonexistent can be used instead. To create a user that is not allowed to login, you would do two things: give the user a shell that is not allowed to ...
Only top voted, non community-wiki answers of a minimum length are eligible