removing a user from a group

Thomas Cameron thomas.cameron at camerontech.com
Sun Jun 5 20:54:09 UTC 2005


On Sat, 2005-06-04 at 18:24 +0000, Geoffrey Leach wrote:
> On 06.04 10:55, Callahan, Michael wrote:
> > I've read books, man pages, searched high and low and haven't found a
> > satisfactory answer yet - how does one remove a user or users from a
> > group
> > via the shell?  I don't want to use the GUI tools.  The closest answer
> > I've
> > found is that you use usermod -G and list all of the groups the user
> > should
> > be in; leave out the one you want them removed from and they will be
> > removed
> > from that group.  That works, but I'm thinking there has to be a
> > better way.
> > Is there a better method?
> 
> % vi /etc/group

Dangerous - use vigr instead.

Thomas




More information about the fedora-list mailing list