Aaron Schulz has uploaded a new change for review.
https://gerrit.wikimedia.org/r/249803
Change subject: Fixed getMWScriptWithArgs() user error message
......................................................................
Fixed getMWScriptWithArgs() user error message
Change-Id: If34f1b5233b63f37ddda75c8c3a28c3099fc2854
---
M multiversion/MWScript.php
1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config
refs/changes/03/249803/1
diff --git a/multiversion/MWScript.php b/multiversion/MWScript.php
index 7844691..e50d965 100644
--- a/multiversion/MWScript.php
+++ b/multiversion/MWScript.php
@@ -33,13 +33,13 @@
fwrite( STDERR, "Cannot run a MediaWiki script as a
user in the " .
"group {$info['name']}\n" );
fwrite( STDERR, <<<EOT
-Maintenance scripts should generally be run using sudo -u apache which
+Maintenance scripts should generally be run using sudo -u www-data which
is available to all wikidev users. Running a maintenance script as a
privileged user risks compromise of the user account.
-You should run this script as the apache user:
+You should run this script as the www-data user:
- sudo -u apache <command>
+ sudo -u www-data <command>
EOT
);
--
To view, visit https://gerrit.wikimedia.org/r/249803
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: If34f1b5233b63f37ddda75c8c3a28c3099fc2854
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits