Operating System - HP-UX
1821584 Members
3414 Online
109633 Solutions
New Discussion юеВ

Re: Password Synchronisation

 
Mahendra Luhar
Advisor

Password Synchronisation

What's the best way to synchronise passwords,uids between nodes from a single source.I'm currently administering the /etc/passwd file local to the nodes.
As you will agree this is a chore and hardly qualifys as a high availability solution.
5 REPLIES 5
Clemens van Everdingen
Honored Contributor

Re: Password Synchronisation

Hi,

Nis should provide you with a working solution !

see: http://docs.hp.com/hpux/onlinedocs/B1031-90048/B1031-90048.html

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
A. Clay Stephenson
Acclaimed Contributor

Re: Password Synchronisation

The best way is probably NIS+ but the easist way is NIS. NIS+ is more difficult to set up but it's also more powerful and more secure.

If it ain't broke, I can fix that.
Mahendra Luhar
Advisor

Re: Password Synchronisation

Thanks for your help.
I shall try out the NIS solution first on our test environment.
Telia BackOffice
Valued Contributor

Re: Password Synchronisation

You could use NIS or NIS+ with og without nfs mounted home directories.

BR
Jannik
Pete Randall
Outstanding Contributor

Re: Password Synchronisation

For a small number of nodes, assuming you're set up to use rcp, you can just set up a script to copy the files to all your nodes.

HOST=`hostname`
HOSTLIST=george ralph henry lydia
for SERVER in $HOSTLIST
do
if [ $SERVER != $HOST ]
then
echo $SERVER
rcp -p $FILENAME $SERVER:$FILENAME
fi
done


You might be better off with NIS/NIS+ but this is the simple solution.

Pete

Pete