Date: Tue, 16 Jan 1996 18:19:09 GMT From: gestur@islandia.is (Gestur A. Grjetarsson) To: Joe Beiter <jwb@xioa.cosmic.org> Cc: freebsd-isp@freebsd.org Subject: Re: deluser Message-ID: <199601161819.SAA23206@hummer.islandia.is>
next in thread | raw e-mail | index | archive | help
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
-----------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601161819.SAA23206>
