1829816 Members
1724 Online
109993 Solutions
New Discussion

Re: Default User Id

 
Nellian Solaiappan
Frequent Advisor

Default User Id

Hi all
is there any way for me to force HP-UX 11.0 to give me user ids greater than 1000?

Regards
Nell
6 REPLIES 6
RolandH
Honored Contributor

Re: Default User Id

As you told in the other thread you use Tivoli Ident Manager and he tooks user id's greater then 100. So I think the key is in the any config file of this Manager. Ask your Tivoli support or in the user-forum for this product.

Roland
Sometimes you lose and sometimes the others win
Nellian Solaiappan
Frequent Advisor

Re: Default User Id

Actually, Tivoli Identity Manager does not have any configuration setting for user id. Tivoli has an agent installed on Hpux and it just calls useradd and doesnt specify any userid so the default id provided by HP-UX 11.0 is taken.
Pete Randall
Outstanding Contributor

Re: Default User Id

You can use a template when creating the users with SAM. Go into SAM > Users and Groups > Users > Actions > User Templates > Create. Fill in the blanks and click on "UserID Generation" and select "First Available Greater Than" and fill in 1000. Now when you define a user, you simply select this template.


Pete

Pete
Nellian Solaiappan
Frequent Advisor

Re: Default User Id

Hi Pete
That solves part of the issue. Now the question is how can I force this template to be the default template so that Tivoli agent calls useradd command and still this template would come into play.
Alex Lavrov.
Honored Contributor

Re: Default User Id

Maybe Tivoli agent uses "useradd -u" option, in this case I think it will assignn uid without the template.
I don't give a damn for a man that can only spell a word one way. (M. Twain)
Pete Randall
Outstanding Contributor

Re: Default User Id

The template, as far as I know, only works with SAM. If you're using the useradd command, it's not going to have any effect.

Could you create a dummy user manually with a UID of 1000? The useradd command's default behaviour is to use the "the next available unique number above the maximum currently assigned number".


Pete

Pete