- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- User ID resue.
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
02-07-2005 05:10 AM
02-07-2005 05:10 AM
Can any one explain how User ID is being reused in HP UX 11.0? I know that 1-100 is reserved for system accounts.
Regards
Nell
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2005 05:19 AM
02-07-2005 05:19 AM
Re: User ID resue.
You don't want to do this. But someone at your shop may have done that.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2005 05:22 AM
02-07-2005 05:22 AM
Re: User ID resue.
I'm looking to understand how the OS reuses Userids. Lets say that I created uids 101 - 200 and then I deleted 150-160. How will the os reuse the ids 150-160? It looks like the ids are being reused and I just cant figure out the pattern.
Regards
Nell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2005 05:36 AM
02-07-2005 05:36 AM
Re: User ID resue.
Apparently you're using SAM to set up your users. SAM does re-use id's by taking the lowest available number over 100.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2005 05:54 AM
02-07-2005 05:54 AM
Re: User ID resue.
In practice, this happens frequently.
Use the /usr/sbin/logins -d command to identify duplicate user IDs.
man logins to see many more options to the logins command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2005 07:45 AM
02-07-2005 07:45 AM
Re: User ID resue.
In theory, should never reuse an ID.
In practice, this happens frequently.
but, if you have a need for any security awareness, you should make sure of a way to prevent this!!!!
_ANYTHING_ owned by / done by the previous holder of that ID will now be _OWNED_ by the new holder / be accounted towards the new holder!!!
We keep the existing UIC's around for 5 years after account expiration, a.o. for these reasons.
hth
Proost.
Have one on me.
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2005 01:58 PM
02-07-2005 01:58 PM
Solutioncut -d : -f 3 /etc/passwd | sort -rn|head -1
The number shown is the last used. Add +1 and tell SAM to use it if it isn't automatic. SAM will not let you create a new user with the same UID qas another user.
As far as reusing userID's, if you completely remove all files owned by a deleted user, the the UID number can be reused. But on complicated systems where users share files and create interdependencies (not a good design practice), this may not be possible.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2005 07:19 PM
02-07-2005 07:19 PM
Re: User ID resue.
. But on complicated systems where users share files and create interdependencies (not a good design practice), this may not be possible.
.. if you need to be accountable, your databases need to store the ID of who performed a change. Can you call that "not a good design practise"?
Hack, we have several databases for which _BY LAW_ even EVERY QUERY has to be logged and accountable, and available for review (but only under guarded conditions, and any review itself subject to those same reqiorements) till 5 years after.
Think about such environments, and you will realise why even the idea of re-using ID's is gruesome!
but ymmv, of course.
Proost.
Have one on me,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2005 08:01 PM
02-07-2005 08:01 PM
Re: User ID resue.
Do you run out of userids?
There is about 64000 available... :-)
For security reasons it is not good to re-use them.
Regards,
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2005 10:16 PM
02-07-2005 10:16 PM
Re: User ID resue.
(This might cause a problem, depending on the size of your company: I think MAXUID is about 64000000 ;o)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2005 05:36 AM
02-14-2005 05:36 AM