To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.off-topic.geekOpen lugnet.off-topic.geek in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Off-Topic / Geek / 3240
3239  |  3241
Subject: 
Re: Help with users and grps in unix...
Newsgroups: 
lugnet.off-topic.geek
Date: 
Tue, 31 Jul 2001 19:26:36 GMT
Reply-To: 
mattdm@mattdm.%StopSpammers%org
Viewed: 
186 times
  
Dan Boger <dan@peeron.com> wrote:
to add users to a group, you have to be able to edit the /etc/group file
- which (on any sane system), only root can do.

Actually, check out the 'gpasswd' command from the linux shadow-utils suite.
This allows non-root users to be defined as group administrators, and these
people can add and remove people from their groups.


--
Matthew Miller           mattdm@mattdm.org        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>



Message has 1 Reply:
  Re: Help with users and grps in unix...
 
(...) sure enough, that'll work - I never knew of that :) Of course, it's an suid proggie, so that's always something to be wary of, even when you can't avoid it... Thanks for the tip! (23 years ago, 31-Jul-01, to lugnet.off-topic.geek)

Message is in Reply To:
  Re: Help with users and grps in unix...
 
(...) to see who's in a group: grep "groupname" /etc/group to see what groups a user belongs to: id "user" to add users to a group, you have to be able to edit the /etc/group file - which (on any sane system), only root can do. sorry... (23 years ago, 24-Jul-01, to lugnet.off-topic.geek)

7 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR