Tim Starling has submitted this change and it was merged.

Change subject: let systemuser l10nupdate have bash as shell so it can run 
l10nupdate scripts via dsh on new mw* hosts.
......................................................................


let systemuser l10nupdate have bash as shell so it can run
l10nupdate scripts via dsh on new mw* hosts.

< apergos> sudo -u l10nupdate ...
< mutante> if i'd give it a bash, it works

< anomie> apergos, mutante: Yeah, it used to work, until relatively recently.

< anomie> mutante, apergos: So, since the /bin/false shell is the problem,
          can we get an appropriate shell set?
          Or is there some other way for sync-l10nupdate-1 to work?

Bug: 50433
Change-Id: I55cbb6177fd30bf21bfa1ebc37f88a9eeca8c98c
---
M modules/mediawiki/manifests/users/l10nupdate.pp
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Tim Starling: Verified; Looks good to me, approved



diff --git a/modules/mediawiki/manifests/users/l10nupdate.pp 
b/modules/mediawiki/manifests/users/l10nupdate.pp
index 0861885..f724369 100644
--- a/modules/mediawiki/manifests/users/l10nupdate.pp
+++ b/modules/mediawiki/manifests/users/l10nupdate.pp
@@ -5,7 +5,7 @@
 
        require groups::l10nupdate
 
-       systemuser { 'l10nupdate': name => 'l10nupdate', home => 
'/home/l10nupdate', default_group => 10002 }
+       systemuser { 'l10nupdate': name => 'l10nupdate', home => 
'/home/l10nupdate', default_group => 10002, shell => '/bin/bash' }
 
        file {
                "/home/l10nupdate/.ssh":

-- 
To view, visit https://gerrit.wikimedia.org/r/71525
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I55cbb6177fd30bf21bfa1ebc37f88a9eeca8c98c
Gerrit-PatchSet: 3
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <dz...@wikimedia.org>
Gerrit-Reviewer: Anomie <bjor...@wikimedia.org>
Gerrit-Reviewer: ArielGlenn <ar...@wikimedia.org>
Gerrit-Reviewer: Catrope <roan.katt...@gmail.com>
Gerrit-Reviewer: Tim Starling <tstarl...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to