Date: Tue, 3 Jan 1995 15:14:01 +0100 (MET) From: roberto@blaise.ibp.fr (Ollivier ROBERT) To: jkh@time.cdrom.com (Jordan K. Hubbard) Cc: wosch@cs.tu-berlin.de, hackers@freebsd.org Subject: Re: New adduser script Message-ID: <9501031414.AA11533@blaise.ibp.fr> In-Reply-To: <10434.789137215@time.cdrom.com> from "Jordan K. Hubbard" at Jan 3, 95 04:46:55 am
next in thread | previous in thread | raw e-mail | index | archive | help
> I've always thought that competition bred innovation.. :-) Mine is too big to post : 122 accountrc 19 groupdefs 904 new-account.pl 1045 total But it is able to manage sendmail aliases, sendmail userdb entries, finds uid holes, multiple groups, and so on. I've rewritten the configuration routine and will add an option to insert /etc/uucp/sys entries for UUCP sites. I'll put the whole archive on freefall. ------------------------------------------------------------ new-account.pl : Account Creation Program. Copyright (c) 1993, 94 by Ollivier Robert (roberto@keltia.frmug.fr.net) Version 1.06 on 03/12/94. Usage: new-account.pl [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/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. ------------------------------------------------------------ The group definition file (new) has the following format : # config file for new-account(8) # # Defines the different groups available # # (c) 1993,94 by Ollivier Robert (roberto@keltia.frmug.fr.net) # # $Id$ # # Here lie the group descriptions # # format is : # # group_name = ( uid_min-uid_max base_dir def_shell options ) # staff = ( 100-199 /users/staff /bin/tcsh mail,alias,userdb ) copains = ( 200-499 /users/copains /bin/tcsh mail,alias,userdb ) uucp = ( 500-599 /var/spool/uucp /usr/libexec/uucp/uucico nodir ) slip = ( 600-699 / /usr/sbin/sliplogin nodir ) ppp = ( 700 799 / /usr/local/sbin/ppplogin nodir ) -- Ollivier ROBERT -=- FreeBSD: the daemon is FREE! -=- roberto@FreeBSD.ORG FreeBSD keltia 2.1.0-Development #2: Thu Dec 29 20:28:18 1994 roberto@keltia:/usr/src/sys/compile/KELTIA ctm#235
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9501031414.AA11533>