Guest_imported
New member
- Jan 1, 1970
- 0
I am looking for a script that can automate password changes in aix. I am new to expect. As of this writing I have not yet compiled it. If there is an expect expert out there here's what I want to do.
I want to be able to read a config file in as arguments to passwd. Such as
#Config file
userid current_passwd new_passwd
#Script
passwd $userid
password: $current_passwd
new password: $new_passwd
new password: $new_passwd
You get the idea? If I could write it, I wouldn't be here.
Thanx for any help.
hwaynejones@yahoo.com
I want to be able to read a config file in as arguments to passwd. Such as
#Config file
userid current_passwd new_passwd
#Script
passwd $userid
password: $current_passwd
new password: $new_passwd
new password: $new_passwd
You get the idea? If I could write it, I wouldn't be here.
Thanx for any help.
hwaynejones@yahoo.com