From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,72ae96ba5dceb4ed X-Google-Attributes: gidfee84,public From: spider@Orb.Nashua.NH.US (Spider Boardman) Subject: Re: UID's greater than 60000 Date: 1995/04/20 Message-ID: #1/1 X-Deja-AN: 101270989 distribution: world references: <3n1106$n3s@delphi.bc.edu> organization: Duchy of Wabesylvan Obspauk newsgroups: comp.unix.osf.osf1 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