Operating System - HP-UX
1838250 Members
4321 Online
110125 Solutions
New Discussion

Re: syncing passwords on an MC/SG cluster

 
Klaas D. Eenkhoorn
Regular Advisor

syncing passwords on an MC/SG cluster

Is it safe to use the command usermod.sam -p PASSWORD USERNAME (set uid on root) to sync passwords between 2 cluster nodes ?

I have no NIS(+).

Kl@@S
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: syncing passwords on an MC/SG cluster

I would not do that.

I would keep them up to date manually or use secure shell public keys to allow ssh between boxes without passwords once the id's are set up.

SEP
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
Elmar P. Kolkman
Honored Contributor

Re: syncing passwords on an MC/SG cluster

Steven's solution only works for pseudo users, not the end-unix-users.

The problem of syncing the users/passwords in a MC/SG cluster is the same as on two normal unix servers.

I would suggest having the systems in trusted mode and use rsync on the /tcb directory. Mind that homedirectories etc are not synced, only the user info is synced.

Advantage of using this is that you have a file per user, so it doesn't matter if the user info is changed on server A or server B, it is copied from the server where it has been changed last to the server with the old version of the files.
Every problem has at least one solution. Only some solutions are harder to find.
Hoefnix
Honored Contributor

Re: syncing passwords on an MC/SG cluster

Klaas,

The problem with syncing the passwords is that it's not realtime.
A user updates his password on on server and starts another applications that's running on the other then his new password is not replicated to it.(can be confusing for the user)

For this reason it's better to implement NIS(+).
Be aware of security issues with NIS(+)

HTH,
Peter Geluk

Klaas D. Eenkhoorn
Regular Advisor

Re: syncing passwords on an MC/SG cluster