usermod
From: Steve Buehler (steve_at_ibapp.com)
Date: 03/30/05
- Previous message: Harding, Devon: "SMTP Authenticated Relay"
- Next in thread: McDougall, Marshall (FSH): "RE: usermod"
- Maybe reply: McDougall, Marshall (FSH): "RE: usermod"
- Maybe reply: Steve Buehler: "RE: usermod"
- Maybe reply: McDougall, Marshall (FSH): "RE: usermod"
- Maybe reply: Steve Buehler: "RE: usermod"
- Reply: Ed Wilts: "Re: usermod"
- Maybe reply: Steve Buehler: "Re: usermod"
- Maybe reply: Steve Kozakoff: "Re: usermod"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 30 Mar 2005 08:20:44 -0600 To: redhat-list@redhat.com
I know you can use "usermod" on RedHat Linux to add a user to another group
by typing:
usermod -G sam,frank steve
This would effectively add steve to the "frank" and "sam" group. How do
you remove them from those groups without editing the /etc/group file
manually? I can do:
usermod -G steve steve
That will remove him from "sam" and "frank" groups but would add steve to
his own group so the /etc/group file would look like:
steve:x:590:steve
instead of just:
steve:x:590:
For the life of me, I can't figure this one out. Does anybody know?
Thanks
Steve
-- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list
- Previous message: Harding, Devon: "SMTP Authenticated Relay"
- Next in thread: McDougall, Marshall (FSH): "RE: usermod"
- Maybe reply: McDougall, Marshall (FSH): "RE: usermod"
- Maybe reply: Steve Buehler: "RE: usermod"
- Maybe reply: McDougall, Marshall (FSH): "RE: usermod"
- Maybe reply: Steve Buehler: "RE: usermod"
- Reply: Ed Wilts: "Re: usermod"
- Maybe reply: Steve Buehler: "Re: usermod"
- Maybe reply: Steve Kozakoff: "Re: usermod"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- RE: usermod
... If you "usermod -G sam,frank steve" and realize that you shouldn't have put
... This would effectively add steve to the "frank" and "sam" group. ...
(RedHat) - RE: usermod
... "usermod -Gsteve steve" should remove him from all groups except steve. ...
and that removed steve from all extra groups. ... (RedHat) - RE: usermod
... >>For the life of me, I can't figure this one out. ... HTH ...
And "usermod -g steve steve" will not do it ... (RedHat) - Re: Warning: Gibsons GENESIS is broken as published
... (on Steve Gibson saying he would correct the false GENESIS pages) ...
Oh Sam, Sam, Sam. ... Here is Steve Gibson on Mar. 1, when he knows the GENESIS
pages are ... (comp.security.misc) - Re: Warning: Gibsons GENESIS is broken as published
... (on Steve Gibson saying he would correct the false GENESIS pages) ...
Oh Sam, Sam, Sam. ... Here is Steve Gibson on Mar. 1, when he knows the GENESIS
pages are ... (comp.security.firewalls)