in reply to
automating password entry for masked password field
This was discussed here recently in Reset unix passwords via Perl? (see also script to verify password).
I expect you'll need ssh and something like Expect or Net::SSH::Expect for this.
Oh, and please edit your post, inserting code tags around your code (see Markup in the Monastery and Writeup Formatting Tips for how to do that).
Non-existent; I don't have TV
Non-existent; my TV doesn't have/need a remote
Under my control; I watch alone
Under the control of whoever shouts loudest
Under the control of whoever gets it first
One of many, and the TV has a mind of its own
Results (464 votes),