From owner-freebsd-questions Wed Feb 28 10:54:57 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA01782 for questions-outgoing; Wed, 28 Feb 1996 10:54:57 -0800 (PST) Received: from digital.netvoyage.net (root@[205.162.154.10]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id KAA01775 for ; Wed, 28 Feb 1996 10:54:55 -0800 (PST) Received: (from bogawa@localhost) by digital.netvoyage.net (8.6.13/8.6.9) id KAA05646; Wed, 28 Feb 1996 10:53:22 -0800 Date: Wed, 28 Feb 1996 10:53:22 -0800 (PST) From: Bryan Ogawa at Work To: "Miguel A.L. Paraz" cc: freebsd-questions@FreeBSD.org Subject: Re: safe way to remove a user In-Reply-To: <199602260246.KAA13386@marikit.iphil.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.org Precedence: bulk On Mon, 26 Feb 1996, Miguel A.L. Paraz wrote: > Hello, > > What's the safe way of removing a user automatically, without > manual editing through vipw? How about deleting the entry from the > password files and rebuilding the database - how can it be made > safe by "locking" the password file? I believe that the lock works by flock()ing the /etc/master.passwd file. The adduser command has the code to do this somewhere or other (in perl). bryan > > thanks, > -- > miguel a.l. paraz -- map@iphil.net -- http://www.iphil.net/user/map/ > iphil communications, makati city, philippines > Bryan K. Ogawa Questions or Problems with NetVoyage? help@netvoyage.net Check out the NetVoyage HelpWeb at..