LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   user groups (https://www.linuxquestions.org/questions/linux-general-1/user-groups-248182/)

technochef 10-27-2004 08:45 PM

user groups
 
How do you create a user group that as a group property has passwords but can't login?

btmiller 10-27-2004 09:29 PM

Logins are handled on a per user basis, not a per group basis. If you want to prevent a user fromlogging in, you can assign them /sbin/nologin as a shell (depending on your config, they may still be able to SSH in).

elfoozo 10-31-2004 04:00 PM

I've always set my users I didn't want to log in to the shell to /bin/false. I haven't tested it thoroughly, but it seems to keep them out when SSH is used also.


All times are GMT -5. The time now is 11:27 AM.