afpcos
asked on
Change Password
I am running on Sun Solaris 7.5.
I am looking for a scrip that will accept the user name, old password, and new password and change the users password.
Can any one help?
I am looking for a scrip that will accept the user name, old password, and new password and change the users password.
Can any one help?
Get and install expect (http://expect.nist.gov/), there are some password tools in the expect examples that will do what you need. A simple script won't do it because of the interactive nature of passwd.
ASKER
jlevie
Thank you for the lead.
I downloaded and installed tcl, tk, and expect.
When I try to run the example
chess.exp
I get the following message
dynamic linker : tclsh8.3 : error opening libtcl8.3.so
Can you help me with this...
I will increase the points if you can.
If not I will accept as is.
Thank you for the lead.
I downloaded and installed tcl, tk, and expect.
When I try to run the example
chess.exp
I get the following message
dynamic linker : tclsh8.3 : error opening libtcl8.3.so
Can you help me with this...
I will increase the points if you can.
If not I will accept as is.
Do a
'find / -name libtcl8.3.so -print'
and tell me the directory it's listed in and give me a printout of 'env'.
'find / -name libtcl8.3.so -print'
and tell me the directory it's listed in and give me a printout of 'env'.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you...