Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Answer: How do I send passwd via Expect.pm w/o printing it clear text to screen

by zengargoyle (Deacon)
on Feb 24, 2002 at 20:52 UTC ( #147210=categorized answer: print w/replies, xml ) Need Help??

Q&A > input and output > How do I send passwd via Expect.pm w/o printing it clear text to screen - Answer contributed by zengargoyle

Update: that might need to be $scp->slave_pty->stty('-echo') and $scp->slave_pty->stty('echo'). or you might need to use one of the $obj->log_* or Expect::Log_* function/variables to tweak what gets displayed where and when.

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2016-10-01 07:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (575 votes). Check out past polls.