How to add a user so that they have no shell access
Hello
Im want to know the command to add a user with no shell access so they cannot log onto the system, but there a user on there so for example they can be part of the email server. Cheers, DaF |
When you create the user, set their shell to "/bin/false" and that should do it.
Check the man page for either "adduser" or "useradd" depending which one your system uses; the option that sets the new user's shell, is the one you want (I think it's the -s option, but you better check..). Sasha |
Legend (Y) Cheers :)
|
All times are GMT -5. The time now is 10:59 AM. |