HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Activate remote account using passwd
Operating System - HP-UX
1832437
Members
3209
Online
110042
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
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
07-19-2002 03:17 AM
07-19-2002 03:17 AM
Activate remote account using passwd
I have written a script that adds a user to numerous systems using the useradd command. Does anyone know how to activate these new users without having to log onto each system individually and type passwd ?
Think Of Yourself As A Customer
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 03:25 AM
07-19-2002 03:25 AM
Re: Activate remote account using passwd
Neil,
If you're able to use the "r"commands (rcp, rlogin, etc.) you could just change on one system and the rcp the new passwd file to the other systems. We have a little 'rcopy' script that propagates such changes to all our HP-UX machines.
If you can't use "r" commands you might try looking into NIS.
HTH,
Pete
Pete
If you're able to use the "r"commands (rcp, rlogin, etc.) you could just change on one system and the rcp the new passwd file to the other systems. We have a little 'rcopy' script that propagates such changes to all our HP-UX machines.
If you can't use "r" commands you might try looking into NIS.
HTH,
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 03:26 AM
07-19-2002 03:26 AM
Re: Activate remote account using passwd
Sorry - that was supposed to say "and theN rcp"
Damn uncooperative fingers!
Pete
Pete
Damn uncooperative fingers!
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2002 05:10 AM
07-19-2002 05:10 AM
Re: Activate remote account using passwd
Hi,
I agree with Pete that NIS or NIS+ is the solution by having a central user database and thus saving effort to replicate on each server.
You can use ssh or scp to perform such tasks remotely and securely. However, since you are not using TCB i.e. trusted systems, I gather security is not at the top of your concerns and remsh or rcp should suffice for your needs.
Also remember to create the user home directories with the correct ownership and permissions if you are using your script.
Hope this helps. Regards.
Steven Sim Kok Leong
I agree with Pete that NIS or NIS+ is the solution by having a central user database and thus saving effort to replicate on each server.
You can use ssh or scp to perform such tasks remotely and securely. However, since you are not using TCB i.e. trusted systems, I gather security is not at the top of your concerns and remsh or rcp should suffice for your needs.
Also remember to create the user home directories with the correct ownership and permissions if you are using your script.
Hope this helps. Regards.
Steven Sim Kok Leong
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