Skip to content
Permalink
Browse files

Response: am trying sudo

  • Loading branch information...
schmonz committed Sep 1, 2019
1 parent 3d76934 commit 31d5769ce798a471edae188a2bb423f7bb5fa432
Showing with 6 additions and 0 deletions.
  1. +6 −0 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]]

0 comments on commit 31d5769

Please sign in to comment.
You can’t perform that action at this time.