HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- A script to incorporate useradd, userdel and userm...
Operating System - HP-UX
1830899
Members
1902
Online
110017
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
06-07-2005 03:45 AM
06-07-2005 03:45 AM
Does anyone have a script that incorportates useradd,usermodd and userdel into one interactive script that can be used accross servers. I know that NIS does this but it is too cumbersome.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 03:52 AM
06-07-2005 03:52 AM
Solution
LDAP does this is well.
Install openldap
11 v1
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1111
11i v2
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1123
If forced to script it, here is how I'd do it.
Set up Secure Shell on all machines.
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=T1471AA
Exchange Public keys
Then I'd have a little script that contains a server list and will do the add and delete the users across the machines.
I don't have time to write the whole thing for you right now.
SEP
http://www.isnamerica.com/contactsep.shtml
Install openldap
11 v1
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1111
11i v2
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1123
If forced to script it, here is how I'd do it.
Set up Secure Shell on all machines.
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=T1471AA
Exchange Public keys
Then I'd have a little script that contains a server list and will do the add and delete the users across the machines.
I don't have time to write the whole thing for you right now.
SEP
http://www.isnamerica.com/contactsep.shtml
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 03:53 AM
06-07-2005 03:53 AM
Re: A script to incorporate useradd, userdel and usermod
Donald,
I'm not quite sure how a script like this would work across servers. I do all my password work on the server that needs changing and then rcp the passwd file to all my other servers. Works for me, anyway.
You might want to browse through Bill McNamara's script collection(s):
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=51050
Pete
Pete
I'm not quite sure how a script like this would work across servers. I do all my password work on the server that needs changing and then rcp the passwd file to all my other servers. Works for me, anyway.
You might want to browse through Bill McNamara's script collection(s):
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=51050
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 05:08 AM
06-07-2005 05:08 AM
Re: A script to incorporate useradd, userdel and usermod
I will go with Steve's suggestion.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP