Quantcast
Channel: Active questions tagged expect - Unix & Linux Stack Exchange
Viewing all articles
Browse latest Browse all 157

Manually enter password into expect and use as variable while scrip is running

$
0
0

I have an expect script that uses interact every time a password is needed. The program that expect is automating asks for the password multiple times. Is there a way to only have to type the password once and then have expect use it next time the password is asked for?Is there a secure way to do this? I don't want the password saved in a file on the computer as this is not secure.


Viewing all articles
Browse latest Browse all 157

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>