HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Force a sync between systems when password is chan...
Operating System - HP-UX
1837791
Members
2899
Online
110120
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
04-08-2005 09:29 AM
04-08-2005 09:29 AM
Force a sync between systems when password is changed?
We have two rp4440 boxes that have cron jobs that run and call a script containing the rdist commands to sync the /etc/passwd and /etc/group files across the two systems.
The biggest problem with this is that the user may have to change their password several times before it takes.
Explanation:
A user changes their password on system A @ 1100. The cronjob on system B used to sync its password & group files to system A runs at 1101. The cronjob on system A then syncs to system B at 1102. So, when this user logs back into system A, they are prompted to change their password again. Quite frustrating.
We are not contemplating going to NIS quite yet. What we would like to do is utilzie a script that forces the /etc/passwd file to sync to the other system when changed.
Any ideas?
Mike Keys
Decatur Memorial Hospital
The biggest problem with this is that the user may have to change their password several times before it takes.
Explanation:
A user changes their password on system A @ 1100. The cronjob on system B used to sync its password & group files to system A runs at 1101. The cronjob on system A then syncs to system B at 1102. So, when this user logs back into system A, they are prompted to change their password again. Quite frustrating.
We are not contemplating going to NIS quite yet. What we would like to do is utilzie a script that forces the /etc/passwd file to sync to the other system when changed.
Any ideas?
Mike Keys
Decatur Memorial Hospital
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2005 11:15 AM
04-08-2005 11:15 AM
Re: Force a sync between systems when password is changed?
The minimum granularity of the cron is 1 min. The other thing that might help you is some sort of script. What I am thinking is moving the original passwd command somewhere else and putting a wrapper. This wrapper, when passwd is invoked will do passwd change and immediately do rdisk stuff.
But beware that any program that uses passwd, or any patch that patches/orverwrites passwd will do so and your wrapper will be of no use.
But beware that any program that uses passwd, or any patch that patches/orverwrites passwd will do so and your wrapper will be of no use.
There is no substitute to HARDWORK
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