Operating System - HP-UX
1753802 Members
8133 Online
108805 Solutions
New Discussion юеВ

Re: How to change the password using a script without interaction

 
Wang,MinJie
Super Advisor

How to change the password using a script without interaction

Hi all,

Any idea for this?
People told me I could use "expect" but I failed.

A sample will be highly appreciated!
2 REPLIES 2
Dennis Handly
Acclaimed Contributor

Re: How to change the password using a script without interaction

likid0
Honored Contributor

Re: How to change the password using a script without interaction

Here is a quick example of a script you could use with expect, it's just a quick example you should check more things in the script, but you can start from here.


or if you like you can use passmass, that is a great expect script.



Windows?, no thanks