Thanks for the replies. Yes, I wound up using su -c $command and got it to work. I'm still trying to figure out a good way of getting the exit status. $object->exitstatus doesn't seem to be giving me anything useful. But at least its working!
In reply to Re^2: Using Net::OpenSSH to su commands
by aztlan667
in thread Using Net::OpenSSH to su commands
by aztlan667
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |