Operating System - HP-UX
1847327 Members
2590 Online
110264 Solutions
New Discussion

Where does new user id come from

 
Chris Watson
Super Advisor

Where does new user id come from

Just a quicky. Where is the next available uid pulled from during account creation?

I am merging two systems passwd files, and hacking any overlapping uid. I don't want subsequent regular account creation to overlap these numbers.

I could do with kicking the 'next user id' up a couple of thousand.
Moving along nicely
2 REPLIES 2
Robert-Jan Goossens
Honored Contributor

Re: Where does new user id come from

Hi,

found this doc in the the database.

http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062954131

Document description: Controlling how SAM assigns UIDs when adding users
Document id: W3470737

Hope this helps,
Robert-Jan
Kent Ostby
Honored Contributor

Re: Where does new user id come from

Chris -- Also keep in mind that you may have to change the actual ownership of the files.

See Doc ID: UCMDSKBRC00011190

http://www2.itrc.hp.com/service/cki/search.do?category=c0&mode=id&searchString=UCMDSKBRC00011190&searchCrit=allwords&docType=EngineerNotes&search.x=41&search.y=8

"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"