Subject:
|
Re: Help with users and grps in unix...
|
Newsgroups:
|
lugnet.off-topic.geek
|
Date:
|
Tue, 31 Jul 2001 19:48:12 GMT
|
Viewed:
|
261 times
|
| |
| |
On Tue, Jul 31, 2001 at 07:26:36PM +0000, Matthew Miller wrote:
> 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.
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!
--
Dan Boger
dan@peeron.com
|
|
Message is in Reply To:
| | Re: Help with users and grps in unix...
|
| (...) 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. (23 years ago, 31-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
|
|
|
|