The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > Security
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 11-09-2007
porter porter is offline
Registered User
 

Join Date: Jan 2007
Posts: 2,965
Quote:
Originally Posted by veccinho View Post
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.

Last edited by porter; 11-09-2007 at 01:38 AM.
Reply With Quote