Re: removing a user from a group

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux