1819791 Members
3256 Online
109607 Solutions
New Discussion юеВ

UID/GID ranges

 
Jose Mosquera
Honored Contributor

UID/GID ranges

Hi all,

I'm planning use two UID/GID rages to isolate two big application users/groups inside of an ia64 HP-UX 11.23 box. These UID/GID ranges are:
From 600000 to 699999 for application "A"
From 800000 to 899999 for application "B"

Please note that **never** we will use each full range. My doubt is to know if there is some well-known problem with these UID/GID lengths under Trusted or NonTrusted modes.

Rgds,
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: UID/GID ranges

Shalom,

There may be some application problems with that range:

http://www.docs.hp.com/en/5964-5283/ch05s23.html

http://docs.hp.com/en/B2355-91058/B2355-91058.pdf

I think that you may want to set your range for both apps at numbers under 99000

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
James R. Ferguson
Acclaimed Contributor

Re: UID/GID ranges

Hi:

The easy way to verify the usablity is to examine 'limits.h':

http://docs.hp.com/en/B3921-60631/limits.5.html

Regards!

...JRF...
Basheer_2
Trusted Contributor

Re: UID/GID ranges

I dont see anything wrong,
since the max # of UID in hp-ux is
2147483647
Steven Schweda
Honored Contributor

Re: UID/GID ranges

> There may be some application problems with
> that range:

> I dont see anything wrong, [...]

Look harder.

You may also find some (old or badly written)
programs which can't cope with gid or uid
values bigger than 16 bits. For example,
Info-ZIP Zip and UnZip needed to extend the
Zip archive format to accommodate 32-bit gid
and uid values, so versions before Zip 3.0
and UnZip 6.0 wouldn't be able to preserve
them.
Jose Mosquera
Honored Contributor

Re: UID/GID ranges

Hi guys,

Thanks very much for your answers, I'll keep open this question for few time to wait any other comment about, meanwhile I get points for previous answers.

Rgds.