The situation is this: I have several daemons that need to access some encrypted data to perform different operations on it. For security purposes, I want to enter the decryption password when I start the daemons, using:
system('stty','-echo'); my $input=<STDIN>; system('stty','echo'); chomp($input);
To make life easier for myself, I want to have one script that will start all the daemons so that I only have to enter the password once, after which this script will launch all the other daemons and provide them with the password. However, I don't know how to have the script give the daemons the password.
Does my question make more sense now?
In reply to Re^2: Have a perl script launch another script or program, then write to that script's STDIN
by xtpu
in thread Have a perl script launch another script or program, then write to that script's STDIN
by xtpu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |