LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 10-27-2004, 08:45 PM   #1
technochef
Member
 
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
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
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
elfoozo
Member
 
Registered: Feb 2004
Location: Washington, USA
Distribution: Debian
Posts: 265

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.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:30 AM.

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