- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Script for useradd in hp-ux 11.31
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
Forums
Discussions
Discussions
Discussions
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
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
02-19-2014 05:58 AM
02-19-2014 05:58 AM
Script for useradd in hp-ux 11.31
Hello Experts,
I am using HP-UX 11.31 and need to add around 400 users on my new rx2800 system. Can anyone please help me with any script for this.
Thanks for anyhelp in advance?
Regards,
Syed
- Tags:
- useradd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2014 08:44 PM
02-23-2014 08:44 PM
Re: Script for useradd in HP-UX 11.31
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2014 01:07 AM - edited 02-24-2014 01:09 AM
02-24-2014 01:07 AM - edited 02-24-2014 01:09 AM
Re: Script for useradd in HP-UX 11.31
I tried it myself, Please check if it is helpful to you.
# PSW=`perl -e "print crypt('test', 'ab')"`
# echo $PSW
abgOeLfPimXQo
# useradd -p $PSW testuser
#
Here 'test' is the password .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2014 02:41 AM
03-11-2014 02:41 AM
Re: Script for useradd in hp-ux 11.31
Hello,
Others gave you useful advice.
Some years ago, I wrote the Perl script to
do it for alarge telco across five operating systems:
Linux, HP-UX, Solaris, Tru64 and AIX).
Maybe you find it useful:
http://www.circlingcycle.com.au/Unix-sources/add-batch-Unix-accounts.pl.txt
You are welcome to modify it as much as you wish as long
as you share it with others. I strongly believe in power
and importance of open-source and public-domain.
VK2COT - Dusan Baljevic