[Gllug] remove a user from a group.
Simon A. Boggis
simon at dcs.qmul.ac.uk
Wed Nov 13 14:33:04 UTC 2002
On Wed, 2002-11-13 at 11:13, Tethys wrote:
>
> "Hari Pillai" writes:
>
> >Could someone please tell me how do a remove a user from a group?
>
> vi /etc/group
remember to remove the line from /etc/gshadow as well (most distros ship
with shadow passwords turned on)
If there is any chance that someone else might edit the file or change a
password at the same time as you, you probably ought to use
vigr
followd by
vigr -s
instead - these utilities lock the files (apparently).
Simon
--
----------------------------------------------------------------------
Dr Simon A. Boggis Systems Programmer
Department of Computer Science, Tel. 020 7882 7522
Queen Mary, University of London, London E1 4NS UK.
---- GPG public key <http://www.dcs.qmul.ac.uk/~simon/#publickey> ----
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list