Date: Thu, 26 Jun 1997 08:29:19 -0700 From: "Tim Oneil" <toneil@visigenic.com> To: questions@FreeBSD.ORG Subject: Re: Removing a User Message-ID: <3.0.2.32.19970626082919.00bb84f0@mailhost> In-Reply-To: <Pine.BSI.3.94.970626005313.27590A-100000@andrsn.stanford.e du> References: <01IKID0WFBKY00RLN6@HOOVER.STANFORD.EDU>
next in thread | previous in thread | raw e-mail | index | archive | help
At 12:59 AM 6/26/97 -0700, you wrote: > > >> Hi, >> >> How do I remove a user on FreeBSD?? >> >> I have remove a user from the files, master.passwd, passwd, group and >> /var/log/adduser, but I can still log on to the server!! >> >> What can I do to resolve this problem?? >> >> Thanks, >> >> Jose Santos >> Guatemala > >Hi Jose, I am forwarding your message to freebsd-questions in case >there's something going on I'm not aware of. > >Did you use vipw to remove the user? I think that's what you need to do-- >not edit the master.passwd file directly. (But you can edit the >/etc/group file directly, as root.) > >You do not need to do anything to /var/log/adduser; that's a record of >what's been done, not a list of current users, as far as I know. > >Annelise > >In addition to removing the user with vipw and deleting the user from >/etc/group, you should also delete the user's files, with >rm -r /usr/home/username >where username is the name of the user. There is also a nice utility in the ports collection that will painlessly remove users, I've installed it a couple of times and never had a problem. Look for "removeuser2_tar.gz", its a small bit of code written in perl. ===================================================== Tim O'Neil (415) 286-1700 Technical Support Engineer support@visigenic.com Visigenic Software, Inc. http://www.visigenic.com =====================================================
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.2.32.19970626082919.00bb84f0>