in reply to Re^3: Problem using Net::OpenSSH->capture to su to another user
in thread Problem using Net::OpenSSH->capture to su to another user
The echo commands in script listed but no actual executes? Any advice?@cmd = "cd /directory; ./exec.sh parm1 file.lst"; $ssh->capture2({tty=>1},'sudo', '-su', "$nonrootuser", '--', @cmd)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Problem using Net::OpenSSH->capture to su to another user
by salva (Canon) on Jun 13, 2014 at 12:34 UTC | |
by Anonymous Monk on Jun 13, 2014 at 13:56 UTC | |
by salva (Canon) on Jun 13, 2014 at 14:29 UTC | |
by Anonymous Monk on Jun 23, 2014 at 20:56 UTC | |
by salva (Canon) on Jun 24, 2014 at 07:20 UTC | |
|