* UID's greater than 60000
@ 1995-04-18 4:00 Lauri S. Doniger
1995-04-18 4:00 ` Mike Iglesias
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Lauri S. Doniger @ 1995-04-18 4:00 UTC (permalink / raw)
I need to be able to use uids in the range 10000-99999 but the adduser script
that comes with OSF/1 will not add a user with a uid greater than 60000. Is
this a limitation of OSF/1 or can I write my own adduser script that allows
me to use any 5 digit uid? I don't understand why 60000 would be the cutoff
anyway. Any recommendations are appreciated.
Thanks.
--
Lauri Doniger
Boston College Systems and Network Services
Internet: lauri@bcuxs2.bc.edu
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: UID's greater than 60000
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
2 siblings, 0 replies; 4+ messages in thread
From: Mike Iglesias @ 1995-04-18 4:00 UTC (permalink / raw)
In article <3n1106$n3s@delphi.bc.edu>,
Lauri S. Doniger <lauri@bcuxs1.bc.edu> wrote:
>I need to be able to use uids in the range 10000-99999 but the adduser script
>that comes with OSF/1 will not add a user with a uid greater than 60000. Is
>this a limitation of OSF/1 or can I write my own adduser script that allows
>me to use any 5 digit uid? I don't understand why 60000 would be the cutoff
>anyway. Any recommendations are appreciated.
Digital Unix defines UID_MAX to be 65535, probably due to some standard
they want to be compliant with. You'd probably have problems using
something above that if any software uses UID_MAX as a check of UIDs.
--
Mike Iglesias Internet: iglesias@draco.acs.uci.edu
University of California, Irvine phone: (714) 824-6926
Office of Academic Computing FAX: (714) 824-2069
Central Computing Support
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: UID's greater than 60000
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
2 siblings, 0 replies; 4+ messages in thread
From: Rich Bemben @ 1995-04-19 4:00 UTC (permalink / raw)
Lauri S. Doniger (lauri@bcuxs1.bc.edu) wrote:
: I need to be able to use uids in the range 10000-99999 but the adduser script
: that comes with OSF/1 will not add a user with a uid greater than 60000. Is
: this a limitation of OSF/1 or can I write my own adduser script that allows
: me to use any 5 digit uid? I don't understand why 60000 would be the cutoff
: anyway. Any recommendations are appreciated.
From OSF/1 v. 2.1 man pages:
(man 4 passwd)
" The allowable values for the UID are unsigned numbers from 0 to 65535."
...a to why you're not being allowed that extra 5,535 userid's (?!?!?!)
--
Rich Bemben rbemben@mbunix.mitre.org
DoD #0044 (617) 271-7136
The street giveth and the street taketh away - Catmother
*********************************************************************
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: UID's greater than 60000
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
2 siblings, 0 replies; 4+ messages in thread
From: Spider Boardman @ 1995-04-20 4:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1995-04-20 4:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox