- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to find the maximum uid that can be assgined?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 10:21 AM
07-19-2002 10:21 AM
Does any one how to find the maximum uid that can be assigned to a new user?
Tx, Crystal
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 10:34 AM
07-19-2002 10:34 AM
Re: How to find the maximum uid that can be assgined?
Don't know if it has changed.
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 10:34 AM
07-19-2002 10:34 AM
Re: How to find the maximum uid that can be assgined?
I'm not sure, but is it possible its
defined by UID_MAX ?
UID_MAX
has an
HP-UX
value of
2147483647 + ,
which means that on all
HP-UX systems the smallest unattainable value for a user or group
ID
is at least 2147483647.
A particular system might be capable of supporting
more than 2147483647 user or group
IDs,
in which case its
UID_MAX
to a higher value; however, any application
assuming such a higher value is not guaranteed to be portable to all
HP-UX
systems.
regards
Steven
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 10:35 AM
07-19-2002 10:35 AM
Re: How to find the maximum uid that can be assgined?
And even with a 64bit OS, some applications might not like large UID's, of which informix comes to mind with their older versions.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 10:37 AM
07-19-2002 10:37 AM
Solutionhttp://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90682/B2355-90682_top.html&con=/hpux/onlinedocs/B2355-90682/00/03/314-con.html&toc=/hpux/onlinedocs/B2355-90682/00/03/314-toc.html&searchterms=UID_MAX&queryid=20020719-113712
The following fields have numerical limitations as noted:
The user ID is an integer value between -2 and
UID_MAX
inclusive.
The group ID is an integer value between 0 and
UID_MAX
inclusive.
Steven
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 10:39 AM
07-19-2002 10:39 AM
Re: How to find the maximum uid that can be assgined?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 10:39 AM
07-19-2002 10:39 AM
Re: How to find the maximum uid that can be assgined?
I am working on a script to generat a specific uid for all users.
I have found a number of 2147483647 for HP-UX. However, I am not sure :
1. if differet O/S has different max_uid?
2. if different bit O/S has different max_uid?
3. where I can find the defined max_uid on a hp-ux 11.x system?
Tx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 10:40 AM
07-19-2002 10:40 AM
Re: How to find the maximum uid that can be assgined?
Some versions of NFS also have problems with large uid's.
Unless you have a compelling reason to use uid's > 60K, I would avoid them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 10:43 AM
07-19-2002 10:43 AM
Re: How to find the maximum uid that can be assgined?
here you can find all the man pages for
hpux :
http://docs.hp.com/hpux/onlinedocs/B2355-90682/B2355-90682.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 10:43 AM
07-19-2002 10:43 AM
Re: How to find the maximum uid that can be assgined?
How can u know it is 2^32-1, it is not 2^31?
Crystal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 10:43 AM
07-19-2002 10:43 AM
Re: How to find the maximum uid that can be assgined?
Be careful if you use values > 60K. As noted in the 'tar' man pages: "tar does not
support the archival of files larger than 2GB or files that have user/group IDs greater than 60K. Files with user/group IDs greater than 60K are archived and restored under the user/group ID of the current process."
This also applies to 'cpio' and 'pax'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 10:47 AM
07-19-2002 10:47 AM
Re: How to find the maximum uid that can be assgined?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 10:48 AM
07-19-2002 10:48 AM
Re: How to find the maximum uid that can be assgined?
for quite som etime now (pre Y2K, IIRC) user-ids can be 32bit (instead of the old 16bit ones). What happens is, when the first file is owned by a user-id > 65535 the whole file-system is silently converted to use 32bits for owner/group for ALL I-nodes...
HTH,
Wodisch