From: spider@Orb.Nashua.NH.US (Spider Boardman)
Subject: Re: UID's greater than 60000
Date: 1995/04/20 [thread overview]
Message-ID: <SPIDER.95Apr20030129@orb.Nashua.NH.US> (raw)
In-Reply-To: 3n1106$n3s@delphi.bc.edu
In article <3n1106$n3s@delphi.bc.edu> lauri@bcuxs1.bc.edu (Lauri S. Doniger) writes:
Lauri> I need to be able to use uids in the range 10000-99999 but
Lauri> the adduser script that comes with OSF/1 will not add a
Lauri> user with a uid greater than 60000. Is this a limitation
Lauri> of OSF/1 or can I write my own adduser script that allows
Lauri> me to use any 5 digit uid? I don't understand why 60000
Lauri> would be the cutoff anyway. Any recommendations are
Lauri> appreciated.
There a couple of issues with larger uids. First is that some
packages manage what they call "template" accounts starting with
65534 and counting backwards. The second, however, is that (last
I looked, anyway) the on-disk inode for UFS only had 16 bits
available for the uid. That means that your users with 'large'
uids won't be able to own any files on those filesystems. This
includes MFS (memory filesystem) mounts, such as are often used
for /tmp. In order to keep your users able to manipulate files
properly, you'd have to be running with only ADVfs for local
mounts. Even then, NFS could give you a problem on the remote
systems, depending on their local filesystems.
However, if you can live with using only ADVfs for 'real' mounts,
I know of no inherent reason why you can't "tweak" adduser to
allow larger uids, from 65536 up to 4294967294 [((uid_t)-2)].
--
Spider Boardman (at home) spider@Orb.Nashua.NH.US
The management (my cats) made me say this. ...!decvax!orb!spider
prev parent reply other threads:[~1995-04-20 4:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-04-18 4:00 UID's greater than 60000 Lauri S. Doniger
1995-04-18 4:00 ` Mike Iglesias
1995-04-19 4:00 ` Rich Bemben
1995-04-20 4:00 ` Spider Boardman [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox