Hello,
I need assistance with a pearl/expect script to change user password on mulitple UNIX/Linux servers. I have one dated 11/16/2006 but it is not working exactly as expected. Was hoping there was an updated version that might assist me?
It works as such:
passchange.script -cmd "passwd user" -inputfile file_with_listofhosts
it prompts once for the new password for the user listed, but never prompts again. It fails I guess because it didn't get a second response?

Post the script and output..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.