in reply to root-owned script needs to "shell out" to bash as a non-privileged user. How?
system '/usr/bin/sudo', '-u', $username, '/bin/bash', '-i';
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: root-owned script needs to "shell out" to bash as a non-privileged user. How?
by mrfirmware (Initiate) on Jan 16, 2013 at 16:51 UTC |