removing a user from a group
Oliver Leitner
shadow333 at gmail.com
Sat Jun 4 22:42:00 UTC 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Paul Almquist wrote:
| 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
|
or just edit the /etc/group file, and remove the user from the group.
Greetings
Oliver Leitner
Technical Staff
http://www.shells.at
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
iD8DBQFCoi44xHPquN24yVsRAts7AKDiBGj1hyXBIgaIUNKyQ3JvS1ma+ACg2+MR
4SWkSQpyPAEm5AKLGm1bir8=
=5lqE
-----END PGP SIGNATURE-----
More information about the fedora-list
mailing list