removing a user from a group

Paul Almquist paul at almquist.name
Sun Jun 5 00:25:23 UTC 2005


On Saturday 04 June 2005 12: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?
...


gpasswd

-- 
Paul Almquist
paul at almquist.name
Eau Claire, WI  USA




More information about the users mailing list