*BSD News Article 86323


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!uwm.edu!newsfeeds.sol.net!newspump.sol.net!mindspring!uunet!in1.uu.net!192.233.85.167!shore!nvp
From: nvp@shore.net (Nathan V. Patwardhan)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Remove User/Groups
Date: 6 Jan 1997 15:22:51 GMT
Organization: Shore.Net; a service of Eco Software, Inc. (info@shore.net)
Lines: 18
Message-ID: <5ar5cb$7so@fridge-nf0.shore.net>
References: <32D0BDCD.41C67EA6@pobox.com>
NNTP-Posting-Host: shell2.shore.net
X-Newsreader: TIN [version 1.2 PL2]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:33699

Wouter de Boer (wouter.de.boer@pobox.com) wrote:

: When I add user/groups with the command "adduser", what is the opposite
: of this command ?? I mean how can I remove user without editing the
: "adduser.conf" file ?? I think to remember in Linux there is still a
: command like "deluser". Is ther ealso a command in FreeBSD which remove
: users/groups ??

You can do it manually, which is preferred, IMHO.  Comment out
the entry in /etc/passwd / /etc/master.passwd or change the user's
shell.  Remove their directories, and you're golden.

OR nab the linux deluser source, and see how it's done.

--
Nate [nvp@shore.net||nvp@nfic.com]
"Nasal spray ... do you know where I can score some?"
                        - Charles Demar from _Better Off Dead_