removing a user from a group

Geoffrey Leach geoff at direcway.com
Sat Jun 4 18:24:32 UTC 2005


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




More information about the fedora-list mailing list