*BSD News Article 94264


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!rill.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.utell.co.uk!usenet
From: brian@shift.utell.net (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Deleted user still exists
Date: 23 Apr 1997 16:09:28 GMT
Organization: Awfulhak Ltd.
Lines: 23
Message-ID: <5jlc7o$5r8@ui-gate.utell.co.uk>
References: <335DD775.7703@i5.informatik.rwth-aachen.de>
Reply-To: brian@awfulhak.org, brian@utell.co.uk
NNTP-Posting-Host: shift.utell.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:39598


In article <335DD775.7703@i5.informatik.rwth-aachen.de>,
	Norbert Grundmann <grundman@i5.informatik.rwth-aachen.de> writes:
> Hi,
> 
> i am using version 2.1.5 and i found a little problem when deleting
> a user from my host. After deleting the line in /etc/passwd and
> /etc/master.passwd the user still exists and the logging in was
> accepted. Still after a reboot the user was 'living' but NO
> corresponding line in the password file. After deleting the
> backuped file(s) the user was deleted. Is this correct?
> 
> Thanks, N. Grundmann

You'd better "delete the line" from pwd.db and spwd.db too then.
Seriously, don't edit passwd and master.passwd, use vipw.
I hope you kept a backup.

> EMail: grundman@i5.informatik.rwth-aachen.de

-- 
Brian <brian@awfulhak.org> <brian@freebsd.org>
      <http://www.awfulhak.org>
Don't _EVER_ lose your sense of humour !