in reply to Re: Using Net::OpenSSH to su commands
in thread Using Net::OpenSSH to su commands

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!

  • Comment on Re^2: Using Net::OpenSSH to su commands