From owner-freebsd-hackers Sat May 25 09:41:28 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA01792 for hackers-outgoing; Sat, 25 May 1996 09:41:28 -0700 (PDT) Received: from ibp.ibp.fr (ibp.ibp.fr [132.227.60.30]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id JAA01786 for ; Sat, 25 May 1996 09:41:26 -0700 (PDT) Received: from blaise.ibp.fr (blaise.ibp.fr [132.227.60.1]) by ibp.ibp.fr (8.6.12/jtpda-5.0) with ESMTP id SAA18910 ; Sat, 25 May 1996 18:41:23 +0200 Received: from (uucp@localhost) by blaise.ibp.fr (8.6.12/jtpda-5.0) with UUCP id SAA23304 ; Sat, 25 May 1996 18:41:23 +0200 Received: (from roberto@localhost) by keltia.freenix.fr (8.7.5/keltia-uucp-2.7) id NAA25399; Sat, 25 May 1996 13:54:43 +0200 (MET DST) From: Ollivier Robert Message-Id: <199605251154.NAA25399@keltia.freenix.fr> Subject: Re: Adduser program in C To: jkh@time.cdrom.com (Jordan K. Hubbard) Date: Sat, 25 May 1996 13:54:43 +0200 (MET DST) Cc: terry@lambert.org, lithium@cia-g.com, freebsd-hackers@freebsd.org In-Reply-To: <9660.832995609@time.cdrom.com> from "Jordan K. Hubbard" at "May 24, 96 08:40:09 pm" X-Operating-System: FreeBSD 2.2-CURRENT ctm#1983 X-Mailer: ELM [version 2.4ME+ PL16 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk It seems that Jordan K. Hubbard said: > Sure, but for now I'd be happy to see a more functional adduser > replacement - so far, none of the efforts which have set out > to do this have born any fruit. :( I have one (new-account) in Perl that need: 1. to be documented ; 2. to be modified to use the one-user/one-group scheme with a switch. Except for this two points, it runs fine: new-account : Account Creation Program. Copyright (c) 1993, 94 by Ollivier Robert (roberto@keltia.frmug.fr.net) Version 1.06.3 on 18/04/95. Usage: new-account [options] login fullname group [group...] Options: -N doesn't execute anything, just show commands, -m send greeting message to new user, -s shell specifies the shell to use instead of /sbin/tcsh, -u uid specifies une user-id to use (default is next free in class), -a alias specifies the alias to put in /etc/mail/aliases, -p pwd use that encrypted password, -q be quiet and do not display messages. Configuration file is /usr/local/etc/accountrc. Group definition file is /usr/local/etc/groupdefs. This version is even in Perl4 so one can use it with the standrad FreeBSD Perl from /usr/bin. -- Ollivier ROBERT -=- The daemon is FREE! -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 2.2-CURRENT #2: Fri May 10 21:09:14 MET DST 1996