Operating System - HP-UX
1753964 Members
7801 Online
108811 Solutions
New Discussion юеВ

Re: password sync in 2 node SG cluster

 
Dianne Dearring
Occasional Contributor

password sync in 2 node SG cluster

I have a 2 node SG cluster with 17K User IDs running in trusted system, HPUX 11.0. Does anyone know of a tool/script that when changes are made on the active system it automatically updates the passive system? Currently we are copying the passwd file and /tcb dir from one system to the other with a cron job. Thanks.
No one is useless in this world who lightens the burdens of it for another. -Charles Dickens
4 REPLIES 4
Anthony Goonetilleke
Esteemed Contributor

Re: password sync in 2 node SG cluster

There are two ways you can do this:
1) Use a NIS server so that passwords/users etc are in sync with 17k users this might be the best way to go.

2) Secondly write a small program that acts like a wrapper to the /usr/bin/passwd file
so when a person issues the password command all hosts in your cluster would have their passwords set.

Minimum effort maximum output!
Stephen Doud
Honored Contributor

Re: password sync in 2 node SG cluster

Anthony's recommendations match those the HP Response Center makes in document ID UXSGKBAN00000227, which contains more helpful details.

Re: password sync in 2 node SG cluster

Take care, if Hosts are trusted, you MUST use NIS+, NIS will not work with trusted Systems !
Emil Velez
Honored Contributor

Re: password sync in 2 node SG cluster


Watch out for the UID numbers as well as the uid names. Remember that the UID number is what is written to the files on the disks.

Good luck the recommendations above are great.