i have attached the modified script beacuse the original script is for changing the password across multiple servers and i guess this is not what you require.
You need to execute the script from root user. It will create a log file in the directory from which you are executing the script.
You can change the password for root and a user but you can do a small modification and the script will change the password for root and any user.
Amit
hello amit,
can you plase send to me the version that changes on multiple servers? Is it perl script?
Thank you,
ebbtibde
i am using a shell script which changes the password of all the servers in the network and also of the host server (as per your requirement) but it uses except.
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.