in reply to Re^5: Problem using Net::OpenSSH->capture to su to another user
in thread Problem using Net::OpenSSH->capture to su to another user
Hi Salva,
If I try that I get the below output:
loguser@enflog01 check_apps$ echo <password> |ssh loguser@enfcdb01 "sudo -Sk -p '' -- su -lc ls imail" sudo: sorry, you must have a tty to run sudo
tim
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Problem using Net::OpenSSH->capture to su to another user
by salva (Canon) on Jun 04, 2014 at 13:09 UTC | |
by tim.culhane (Initiate) on Jun 04, 2014 at 13:51 UTC | |
by salva (Canon) on Jun 04, 2014 at 14:43 UTC | |
by tim.culhane (Initiate) on Jun 05, 2014 at 10:25 UTC | |
by salva (Canon) on Jun 05, 2014 at 10:30 UTC | |
| |
by AppleFritter (Vicar) on Jun 24, 2014 at 09:58 UTC |