Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jan 1995 23:46:30 +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:  <9501032246.AA12671@blaise.ibp.fr>
In-Reply-To: <11724.789169119@time.cdrom.com> from "Jordan K. Hubbard" at Jan 3, 95 01:38:39 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <user>.<user>, 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9501032246.AA12671>