Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 10-27-2004, 08:45 PM   #1
Registered: Jun 2004
Location: Texas
Distribution: Debian and FreeBSD
Posts: 58

Rep: Reputation: 15
user groups

How do you create a user group that as a group property has passwords but can't login?
Old 10-27-2004, 09:29 PM   #2
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,274

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
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).
Old 10-31-2004, 04:00 PM   #3
Registered: Feb 2004
Distribution: Debian 8.2
Posts: 255

Rep: Reputation: 32
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
UK Linux User Groups floppywhopper Linux User Groups (LUG) 0 04-14-2005 08:20 PM
one user 2 groups alaios Linux - General 5 10-20-2004 07:33 AM
groups for a monitor user pe2338 Linux - Security 5 05-18-2004 01:37 AM
Linux User Groups? gsmonk Linux - General 1 09-01-2003 04:20 PM
a user can be in two groups? joeslazenger Linux - Newbie 2 08-13-2002 01:12 PM

All times are GMT -5. The time now is 08:33 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration