Operating System - HP-UX
1837969 Members
2801 Online
110124 Solutions
New Discussion

Password Replication at DR Server.

 
harry_7
Frequent Advisor

Password Replication at DR Server.

Dear All,

Please advice me, we have a DR Site. I want to replicate my all the FTP user’s at DR Site. Is there any way where I can replicate FTP Users only.

With Regards

Harry
3 REPLIES 3
harry_7
Frequent Advisor

Re: Password Replication at DR Server.

Replication at DR Site with the existing (production) passwords..

Thanks.

harry.
Sridhar Bhaskarla
Honored Contributor

Re: Password Replication at DR Server.

Hi Harry,

Unless you use tools like LDAP/NIS+/control-SA/NIS etc., it is not possible without scripting. You can simply duplicate the accounts, by keeping them all in one file with all the details and then using 'useradd' command, but synchronizing the passwords can be a painful task with the scripting. Finding out when the users changed their passwords is the key in scripting.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Sridhar Bhaskarla
Honored Contributor

Re: Password Replication at DR Server.

And.. it may be better if you have 'trusted' your systems because you can copy /tcb/files/auth// from one server to another. You need to ensure that the user is not active and there is no account related activity on the box. You can also use '/usr/sam/lbin/usermod -p login' to synchronize the passwords where is from systemA's password registry (either /etc/passwd or /tcb/files/auth.. structure I mentioned above). Again you will need to ensure that the user is not active on the box when you run that usermod command.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try