aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAmitai Schleier <schmonz-web-ikiwiki@schmonz.com>2019-09-01 10:39:48 -0400
committerAmitai Schleier <schmonz-web-ikiwiki@schmonz.com>2019-09-01 10:39:48 -0400
commit31d5769ce798a471edae188a2bb423f7bb5fa432 (patch)
treed17b92fb447b45634bbe8347bb8d9ae195131b4f /doc
parent3d769344a81e93717dd07ecba1197ff1c3aa125a (diff)
downloadikiwiki-31d5769ce798a471edae188a2bb423f7bb5fa432.tar
ikiwiki-31d5769ce798a471edae188a2bb423f7bb5fa432.tar.gz
Response: am trying sudo
Diffstat (limited to 'doc')
-rw-r--r--doc/bugs/ikiwiki-mass-rebuild_has_probably_never_worked_portably.mdwn6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/bugs/ikiwiki-mass-rebuild_has_probably_never_worked_portably.mdwn b/doc/bugs/ikiwiki-mass-rebuild_has_probably_never_worked_portably.mdwn
index 3bae33ada..867b99566 100644
--- a/doc/bugs/ikiwiki-mass-rebuild_has_probably_never_worked_portably.mdwn
+++ b/doc/bugs/ikiwiki-mass-rebuild_has_probably_never_worked_portably.mdwn
@@ -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
>>> configurable, with some strong suggestions and warnings. Thoughts?
>>> --[[schmonz]]
+
+>>>> Here's what I'm experimenting with now:
+>>>>
+>>>> my $ret=system("sudo", "-n", "-s", "-u", $user, "/bin/sh", "-c", "--", "$0", "--nonglobal", @ARGV);
+>>>>
+>>>> --[[schmonz]]