Response: am trying sudo
parent
3d769344a8
commit
31d5769ce7
|
@ -138,3 +138,9 @@ The `-m` may be overzealous. I have some sites running as users with `/sbin/nolo
|
||||||
>>> and thorough option might be to make the run-as-user command
|
>>> and thorough option might be to make the run-as-user command
|
||||||
>>> configurable, with some strong suggestions and warnings. Thoughts?
|
>>> configurable, with some strong suggestions and warnings. Thoughts?
|
||||||
>>> --[[schmonz]]
|
>>> --[[schmonz]]
|
||||||
|
|
||||||
|
>>>> Here's what I'm experimenting with now:
|
||||||
|
>>>>
|
||||||
|
>>>> my $ret=system("sudo", "-n", "-s", "-u", $user, "/bin/sh", "-c", "--", "$0", "--nonglobal", @ARGV);
|
||||||
|
>>>>
|
||||||
|
>>>> --[[schmonz]]
|
||||||
|
|
Loading…
Reference in New Issue