https://bugzilla.wikimedia.org/show_bug.cgi?id=40739

       Web browser: ---
             Bug #: 40739
           Summary: Run pollForChanges as user
           Product: MediaWiki extensions
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikidataClient
        AssignedTo: wikidata-b...@lists.wikimedia.org
        ReportedBy: silke.me...@wikimedia.de
                CC: wikidata-b...@lists.wikimedia.org
    Classification: Unclassified
   Mobile Platform: ---


Here is what Katie proposed so that we stop running the script as root:

1) create a new user on the systems, such as "wikidata", with some shared
password.  We can "su wikidata" (or "sudo -u wikidata" ) and run things as that
user, such as pollforchanges.
2) put user "wikidata" it into group: www-data
3) change permissions on all our mediawiki instances to:

chown -Rf wikidata:www-data /var/www

sudo chmod -R g+s /var/www  (I'm not 100% sure about this but think it's right)

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to