Linux Scripting: Changing Passwords
Posted on 2003-10-24
If you read my last question on this forum ("Linux Shell Scripting"), you will know my situation. However, now I need to change the passwords of 550 users using a shell script.
Again my usernames are in the form of user1 to user550. I've used the passwd command to change the first passwd manually. So the output was :-
passwd user1 [rtn]
Changing Password for user user1
New Unix Password: [password]
Retype new UNIX password: [password]
passwd: all authentication tokens updated successfully.
How on earth am I supposed to script that!!!??