From owner-freebsd-hackers Tue Jan 16 04:07:55 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id EAA10067 for hackers-outgoing; Tue, 16 Jan 1996 04:07:55 -0800 (PST) Received: from apollo.is.co.za (apollo.is.co.za [196.4.160.2]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id EAA10054 for ; Tue, 16 Jan 1996 04:07:43 -0800 (PST) Received: from admin.is.co.za (admin.is.co.za [196.23.0.9]) by apollo.is.co.za (8.6.12/SMI-SVR4tmp8) id OAA19490; Tue, 16 Jan 1996 14:07:12 +0200 Received: (from robin@localhost) by admin.is.co.za (8.6.12/8.6.12) id OAA23785 for hackers@freebsd.org; Tue, 16 Jan 1996 14:07:24 +0200 From: Robin Lunn Message-Id: <199601161207.OAA23785@admin.is.co.za> Subject: user management stuff To: hackers@freebsd.org Date: Tue, 16 Jan 1996 14:07:23 +0200 (GMT) X-Organisation: The Internet Solution (Pty) Ltd. X-Phone: +27-11-4475566; Fax: +27-11-4475567 Reply-To: robin@is.co.za X-AIDAT-Member: See http://www.aidat.org X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-hackers@freebsd.org Precedence: bulk Hi there, I was horrified to see that /usr/sbin/adduser does no locking of the password file! I recommend that instead of attempting to add the entry directly that the program simply invoke chpass -a which will see to it that locking is done etc. Much safer. Also, I've made a userdel script in perl. It was written on company time and so my company has the copyright. The company is however happy to allow this to be freely released. Should I put this on a news group or would someone like to have a look and perhaps put it into future FreeBSD releases? -- _ __ | Only my ideas here unless I say otherwise... _ ' ) ) / | (BeamJack@IRC) / \ /--' ____/___o __ | | / / \_(_) /_) (__/) )_ | \ "I didn't know it was impossible when I did it!" \ /\ | | \/