Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Oct 1996 21:29:03 -0800 (PST)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Skynet1@cris.com
Cc:        questions@freebsd.org
Subject:   Re: your mail
Message-ID:  <Pine.BSI.3.94.961029212731.369B-100000@gdi.uoregon.edu>
In-Reply-To: <9610300316.AA22917@voyager.cris.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 29 Oct 1996 Skynet1@cris.com wrote:

> Hello. I made a test user john doe and I can't seem to be able to remove it. I searched all my files...i removed the entry from p/etc/passwd, master.passwd
> group, and i removed the home dir...but i can stil logon as johndoe with the 
> password and use the directory / as a login diroot. What do I do to
> remove this user????

Use vipw to edit the password file and delete johndoe's entry with the
'dd' command, then rm -rf /usr/home/johndoe.

You can't edit passwd directly since it's a generated file. 

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.94.961029212731.369B-100000>