aboutsummaryrefslogtreecommitdiffstats
path: root/modules/openssh
diff options
context:
space:
mode:
authorOlivier Blin <dev@blino.org>2017-02-21 00:05:29 +0100
committerOlivier Blin <dev@blino.org>2017-02-21 00:21:18 +0100
commite31869325686b78c9e9c41b039d4cf691af200fc (patch)
tree63a23f47f42951c2c2e2b39ba19fbeb32cf2c8e9 /modules/openssh
parent614b8e6ccd66758b82e01ac569c0860f9ec603d1 (diff)
downloadpuppet-e31869325686b78c9e9c41b039d4cf691af200fc.tar
puppet-e31869325686b78c9e9c41b039d4cf691af200fc.tar.gz
puppet-e31869325686b78c9e9c41b039d4cf691af200fc.tar.bz2
puppet-e31869325686b78c9e9c41b039d4cf691af200fc.tar.xz
puppet-e31869325686b78c9e9c41b039d4cf691af200fc.zip
Allow mga-unrestricted_shell_access group login on duvel
Also-by: Dan Fandrich <dan@coneharvesters.com>
Diffstat (limited to 'modules/openssh')
-rw-r--r--modules/openssh/templates/sshd_config2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/openssh/templates/sshd_config b/modules/openssh/templates/sshd_config
index 9faa314b..76b11bec 100644
--- a/modules/openssh/templates/sshd_config
+++ b/modules/openssh/templates/sshd_config
@@ -123,6 +123,6 @@ Subsystem sftp <%= path_to_sftp %>/sftp-server
# ForceCommand cvs server
<% if @hostname == 'duvel' then %>
# git command is already forced to "gitolite <username>" in /var/lib/git/.ssh/authorized_keys
-Match User *,!schedbot,!root,!git Group *,!mga-sysadmin
+Match User *,!schedbot,!root,!git Group *,!mga-sysadmin,!mga-unrestricted_shell_access
ForceCommand /usr/local/bin/sv_membersh.pl -c "$SSH_ORIGINAL_COMMAND"
<% end %>