my $root = system("su"); my $password = "password"; print "$password"; print "\n";
Am I on the right path? The terminal just prompts for the root password and sits there waiting for a response, and I'm wanting the script to send the password.
In reply to Responding to terminal I/O by cspctec
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |