From owner-freebsd-isp Tue Jan 16 10:25:04 1996 Return-Path: owner-isp Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA01663 for isp-outgoing; Tue, 16 Jan 1996 10:25:04 -0800 (PST) Received: from isgate.is (isgate.is [193.4.58.51]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id KAA01652 for ; Tue, 16 Jan 1996 10:24:59 -0800 (PST) Received: from hummer.islandia.is by isgate.is (8.7.3/ISnet/14-10-91); Tue, 16 Jan 1996 18:24:46 GMT Received: from skalmarbaer.islandia.is by hummer.islandia.is (8.6.11/ISnet/12-09-94); Tue, 16 Jan 1996 18:19:09 GMT Date: Tue, 16 Jan 1996 18:19:09 GMT Message-Id: <199601161819.SAA23206@hummer.islandia.is> X-Sender: gestur@islandia.is X-Mailer: Windows Eudora Version 2.0.3 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit To: Joe Beiter From: gestur@islandia.is (Gestur A. Grjetarsson) Subject: Re: deluser Cc: freebsd-isp@freebsd.org Sender: owner-isp@freebsd.org Precedence: bulk Greetings >] >]the command would be "closeaccount user", where the script would take >]user assigned for $1 in the script. >] >]where in vipw, you find the user password like and erase it from there. >]the script should be finished erasing the user from your user dir when >]you finish the vipw edit. >] > >the problem is combining the person deleting accounts and the passwd file in >an editor (in vipw). I can't trust them to not delete the root account or >the wrong user. Thats why I'm trying to hack vipw.c and pw_util.c.. I want >to replace the part that puts you into an editor with something that will >instead remove a line from the temp passwd file that contains a pre-verified >username.. and then goes on to just rebuild the passwd database. > > I haven't had any trouble using rm -r with symbolic links, ,, I've used script like the one I sent out, for quite a while now with no trouble. If anyone comes with a better sollution, I'd like to see it ! Međ kveđju, Sincerely, ----------------------------------------------------------- Gestur A. Grjetarsson kerfisstjóri islandia.is sysadmin islandia.is Islandia, Grensásvegur 7, 2h.t.h., 108 Reykjavik sími 5884020, modem 5884120, fax 5884014 http://www.islandia.is http://www.islandia.is/english.htm ----------------------------------------------------------- Programmers never die, they just GOSUB without RETURN ! The only thing which makes you eternal, is to live a life worth remembering -----------------------------------------------------------