Unix Shell - automate telnet

This is Interesting: Free IT Magazines  
Home > Archive > Unix Shell > January 2006 > automate telnet





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author automate telnet
romy

2006-01-19, 6:24 pm

hi,

i wnt to telnet to an ip and change the password with the help of shell
script. can someone help ?

I want to do the follwing with the help of of script :

telnet some_ip_address
user : some_user
passorwd : some pass_word

after logging to that used id i want to change the password of that
user id . so something like this :

passwd
old password: some password
new password : some new password
retype new password : some new password

Please note that i want to chnge the password of the user id , to which
i have logged in via telnet.

Please help.

Regards,
Romy

Michael Paoli

2006-01-22, 6:10 pm

romy wrote:
> i wnt to telnet to an ip and change the password with the help of shell
> script. can someone help ?


http://expect.nist.gov/example/passmass.man.html
http://expect.nist.gov/
http://search.cpan.org/~rgiersig/Expect-1.15/

romy

2006-01-22, 6:10 pm

Thanks Michael,

it worked.

Regards,
romy

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com