This shows you the differences between two versions of the page.
remote_password_change [2011/05/02 00:14] k2patel created |
remote_password_change [2011/05/02 00:14] k2patel |
||
---|---|---|---|
Line 1: | Line 1: | ||
==== Change User password remotely ==== | ==== Change User password remotely ==== | ||
- | <code expect> | + | <code bash> |
#!/usr/bin/expect | #!/usr/bin/expect | ||
# usage: runcmd <command> <password> | # usage: runcmd <command> <password> |