Quote:
Originally Posted by veccinho
Do I have to do something else besides adding Nologin in /etc/paswd?
I used vipw for editing passwd file, in case someone asks 
|
Another approach is to change their shell to "/usr/bin/false".
Also, the shell is supposed to exist in "/etc/shells" for it to be considered valid.