From owner-freebsd-hackers Tue Jan 3 14:45:57 1995 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id OAA00862 for hackers-outgoing; Tue, 3 Jan 1995 14:45:57 -0800 Received: from ibp.ibp.fr (ibp.ibp.fr [132.227.60.30]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id OAA00856 for ; Tue, 3 Jan 1995 14:45:55 -0800 Received: from blaise.ibp.fr (blaise.ibp.fr [132.227.60.1]) by ibp.ibp.fr (8.6.8/jtpda-5.0) with SMTP id XAA03888 ; Tue, 3 Jan 1995 23:46:19 +0100 Received: by blaise.ibp.fr (4.1/SMI-4.1) id AA12671; Tue, 3 Jan 95 23:46:31 +0100 From: roberto@blaise.ibp.fr (Ollivier ROBERT) Message-Id: <9501032246.AA12671@blaise.ibp.fr> Subject: Re: New adduser script To: jkh@time.cdrom.com (Jordan K. Hubbard) Date: Tue, 3 Jan 1995 23:46:30 +0100 (MET) Cc: wosch@cs.tu-berlin.de, hackers@freebsd.org In-Reply-To: <11724.789169119@time.cdrom.com> from "Jordan K. Hubbard" at Jan 3, 95 01:38:39 pm X-Mailer: ELM [version 2.4 PL23beta2] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 1313 Sender: hackers-owner@freebsd.org Precedence: bulk > Can it handle sites like freefall, where different groups of people > get assigned to the end of some range? (e.g hackers get the next 6xx > uid, WC staff get 2xxx, archive maintainers get 1xxx, etc). That yes. In the groupdefs file there are classes for each group. > kind of a pain in the butt. You need to find the next free uid in the > 600 range (for 99% of new users, anyway), then create the account, > then make a corresponding group id, then create the REAL home dir in > /a, then chown it to ., then create a symlink to it in > /home. That model no. Creating a group per user is not currently supported. I guess that would be a major change in the script's philosophy (sp?). > I'll agree that it's probably something of a special case, but it's not > a bad model, either. I'll see if I can incorporate that kind of behaviour without breaking the rest. At the time a group (in /etc/group) = a range of uids. Holes in the range are found and reused. Maybe executing a special script at the end of the general one, site-init.pl or some kind. Hmmm I'll think over that. -- 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