sudo -u nonrootuser /bin/sh -c 'cd /directory; ./exec.sh'
In reply to Re^7: 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: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |