If you "usermod -G sam,frank steve" and realize that you shouldn't have put steve in the frank group, just "usermod -G sam steve" and by omission, will remove the user from the group. HTH Regards, Marshall -----Original Message----- From: Steve Buehler [mailto:steve@xxxxxxxxx] Sent: Wednesday, March 30, 2005 8:21 AM To: redhat-list@xxxxxxxxxx Subject: usermod 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@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list