Mt Xia: Technical Consulting Group

Business Continuity / Disaster Recovery / High Availability
Data Center Automation / Audit Response / Audit Compliance

-
Current Location
-

css
  Downloads
    Scripts
      Expect

-

digg Digg this page
del.icio.us Post to del.icio.us
Slashdot Slashdot it!


Business Web Site Hosting
$3.99 / month includes Tools,
Shopping Cart, Site Builder

www.siteox.com

FREE Domain Registration
included with Web Site Hosting
Tools, Social Networking, Blog

www.siteox.com

Contained here are example Expect scripts.


change_passwd.shtml:
This script changes the password of a user without being prompted for the passord itself. It is used in conjuction with another ksh script called change_passwd.sh that provides the UNIX box name, the userid, and the root password. This script sets the user's password to "1234" but you can change it to anything you like.
change_passwd.exp(non-html version)
change_passwd.sh(non-html version)


-
Expect
-
 

Change Password


FREE Domain Registration
included with Web Site Hosting
Tools, Social Networking, Blog

www.siteox.com

Business Web Site Hosting
$3.99 / month includes Tools,
Shopping Cart, Site Builder

www.siteox.com