Operating System - HP-UX
1832765 Members
3380 Online
110045 Solutions
New Discussion

MINUID for useradd command?

 
ccox
Occasional Advisor

MINUID for useradd command?

Is there a way on HPUX 11.i to change the default minimum UID that is auto-assigned? by default it will assign any used UID higher than 99. can this be changed to 499, as an example?

I know this can be performed by writing a wrapper around the useradd, I was hoping for a more straightforward option.

-Chris
4 REPLIES 4
A. Clay Stephenson
Acclaimed Contributor

Re: MINUID for useradd command?

No, the value is hard-coded.
If it ain't broke, I can fix that.
A. Clay Stephenson
Acclaimed Contributor

Re: MINUID for useradd command?

Plan B. Fill in all the passwd entries with UID's > 99 and <= 499 with dummy, disabled, entries.
If it ain't broke, I can fix that.
ccox
Occasional Advisor

Re: MINUID for useradd command?

Thanks Clay - It wasn't what I wanted to hear; But it's the answer I needed.

-Chris
ccox
Occasional Advisor

Re: MINUID for useradd command?

closing thread.