echo $SUDO_PASSWORD |ssh host "sudo -Sk -p '' -- su -lc ls imail"
In reply to Re^5: Problem using Net::OpenSSH->capture to su to another user
by salva
in thread Problem using Net::OpenSSH->capture to su to another user
by tim.culhane
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |