- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Create multiple user account with default user...
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
Discussions
Discussions
Forums
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
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
тАО04-05-2010 02:31 AM
тАО04-05-2010 02:31 AM
I'm running HP-UX 11iv2, I would like to create multiple user accounts with one shot... defaults are:
User group: users
Password: xxxxx
shell: /usr/bin/sh
is there any command or scrip i can use it?
Pls. your quick response will be appreciated.
Regards,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2010 03:03 AM
тАО04-05-2010 03:03 AM
Re: Create multiple user account with default users group
Yes, useradd (man useradd command)
>>>or scrip i can use it?
You can try below script from below mentioned thread
http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1270465141996+28353475&threadId=1221111
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2010 03:18 AM
тАО04-05-2010 03:18 AM
Re: Create multiple user account with default users group
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1358395
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2010 06:13 AM
тАО04-05-2010 06:13 AM
Re: Create multiple user account with default users group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2010 01:52 PM
тАО04-05-2010 01:52 PM
Re: Create multiple user account with default users group
and you are using Trusted Passwords
and if you do not need to set the pass to anything specific
and you do not care about userids
then the below would work..(more specifics should get you more details)
cat user.list|while read list
do
useradd -m $list
modprpw -x $list
done
(where user.list is a file with valid user anames, one per line)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2010 07:00 PM
тАО04-05-2010 07:00 PM
Re: Create multiple user account with default users group
and expect
and perl using the Expect module...
Search these forums; the question's been asked/answered multiple times.
Doug
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2010 07:04 PM
тАО04-05-2010 07:04 PM
SolutionHaving reread that, it sounds snarky; wasn't meant to be - humble apologies.
Searching the forums is still a valid point, though: The first three links of 50 are as follows:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=913052
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1392985
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1249875
Doug
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2010 03:22 AM
тАО04-06-2010 03:22 AM
Re: Create multiple user account with default users group
My problem solved....