I have a HACMP configuration of "mutal takeover cascading". In other words, 2 physical servers, sharing hard drives. When one server fails (ie:motherboard) it shuts down, and moves its resources over to the other server.
Anyways, when I have to create a user, I use "smit HACMP" and the script looks something like this:
x() {
/usr/es/sbin/cluster/cspoc/fix_args nop cl_chpasswd -cspoc -f -k $*
if [ $? -ne 0 ]
then
exit 1
fi
}
x username-goes-here
Scenario:
I create the user with a default password of "password". The local node(1) and other node(2) etc/security/passwd file is the same at this point. When the user logs in for the first time on Node(1) it will force the user to change their password. Node(2) will not get updated with the new password. This is the problem. How do I make the other Node(2) have the same new password like Node(1)? And on day-to-day operations, if a user forgets their password, and I need to reset it, I would like both nodes to have the same password in the /etc/security/passwd file. Does anyone have any suggestions other than using a NIM server to do this?
Anyways, when I have to create a user, I use "smit HACMP" and the script looks something like this:
x() {
/usr/es/sbin/cluster/cspoc/fix_args nop cl_chpasswd -cspoc -f -k $*
if [ $? -ne 0 ]
then
exit 1
fi
}
x username-goes-here
Scenario:
I create the user with a default password of "password". The local node(1) and other node(2) etc/security/passwd file is the same at this point. When the user logs in for the first time on Node(1) it will force the user to change their password. Node(2) will not get updated with the new password. This is the problem. How do I make the other Node(2) have the same new password like Node(1)? And on day-to-day operations, if a user forgets their password, and I need to reset it, I would like both nodes to have the same password in the /etc/security/passwd file. Does anyone have any suggestions other than using a NIM server to do this?