- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- non-interactive passwd.
Operating System - HP-UX
1748180
Members
4127
Online
108759
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
Discussions
Discussions
Forums
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
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
тАО05-08-2006 02:02 AM
тАО05-08-2006 02:02 AM
All
Does anyone know if it is possible to create a user account and passwd using the command useradd. I want to create a login ID for several users across over 200 systems and I wanted to use this command to run it across all the systems from a single system in a loop. I know I can create a user ID but I am defeated to create a passord and I want it to expire immediately... Any Ideas ??????
Does anyone know if it is possible to create a user account and passwd using the command useradd. I want to create a login ID for several users across over 200 systems and I wanted to use this command to run it across all the systems from a single system in a loop. I know I can create a user ID but I am defeated to create a passord and I want it to expire immediately... Any Ideas ??????
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2006 02:21 AM
тАО05-08-2006 02:21 AM
Re: non-interactive passwd.
Richard,
have you looked at this thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=29109
have you looked at this thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=29109
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2006 08:09 AM
тАО05-08-2006 08:09 AM
Solution
go into sam and add a test user. set the password you want to use for your real user. then use the samlog_viewer to see the command that was executed - it's called "useradd.sam". It's basically the same as the useradd command, but with an additional parameter to specify the encrypted password. find the encrypted password that was set for your sample user from the log.
to run this command on 200 systems, you'll probably want to set up a key-based ssh trust (or rlogin/remsh/.rhosts, if you don't care about security), so that you can execute remote commands.
if you want to expire the password, you'll also need to run "passwd -f" (or the corresponding "modprpw" command if running trusted systems).
to run this command on 200 systems, you'll probably want to set up a key-based ssh trust (or rlogin/remsh/.rhosts, if you don't care about security), so that you can execute remote commands.
if you want to expire the password, you'll also need to run "passwd -f
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP