Perl-Sensitive Sunglasses | |
PerlMonks |
Submitting password changes to external programby Dietz (Curate) |
on Dec 09, 2005 at 13:41 UTC ( [id://515532]=perlquestion: print w/replies, xml ) | Need Help?? |
Dietz has asked for the wisdom of the Perl Monks concerning the following question: Fellow Monks! I'm working on this for over 2 days now to no avail, and I must admit IPC is one of my weakest fields. I have got the task to automate resetting passwords without user input on AIX /w HACMP. Although I'm allowed to test as root user, I'm not allowed to install any modules like Expect.
When I run the external command over the command line, I type in the passwords which get not displayed and all is OK:
When run by my test script and hitting <Ctrl+C> after the second password display:
When run by my test script and typing in the password followed by <ENTER> after second password display:
So I can see the passwords get printed but the external program doesn't get the input.
Back to
Seekers of Perl Wisdom
|
|