Change root password with dsh
This method works with AIX and GNU/Linux
dsh -g linux_amdocs "echo 'root:verysecurepassword'| sudo -S chpasswd"
Force user to change password next time on Linux:
chage --lastday 0 ravi
Reset user AIX
pwdadm -c <user>