Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding multiple users 3

Status
Not open for further replies.

phorbiuz

Technical User
Jul 22, 2004
67
0
0
GB
I've been given a list of 346 users to add to our system!

Joy!

Anyway, obviously it will be best to script this, made simpler by the fact they're all in the same group using the same shell etc etc. The only differences will be the id, uid, and home dir. I'm going to allocate uid's consecutively starting at 2000.

However, this is a HACMP cluster of 2 nodes. Anyone know the best way to do this?

Thanks.



 
then use cspoc in the script - command like below:

/usr/es/sbin/cluster/cspoc/fix_args nop cl_mkuser id='theUID' pgrp=thegroup' groups='thegroupset' gecos='Name Surename' accountname
 
Did you look at faq52-5866 - it will need some modification but it will do the job for you.


On the internet no one knows you're a dog

Columb Healy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top