Dear Monks,
i am facing problem as stated in title. I need to run bunch of commands but as specific user using sudo-like BoKS mechanism.
What i am trying to acheive is to "redirect" my std[err|out] to other application than regular shell
In shell terms i am trying to run ssh remotehost -t "sx su - root" where "sx" is SuExec command which i need to prepend every privileged operation, or regular 'su' to switch user(just like sudo with NOPASSWD option, but remotely controlled).
In reply to Net::Openssh spawn other process than shell by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |