added new var to template
git-svn-id: https://svn/ipuppet/trunk/modules/sshd@831 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
This commit is contained in:
parent
97766401f5
commit
c140469f04
5 changed files with 5 additions and 5 deletions
|
@ -52,7 +52,7 @@ define sshd::sshd_config(
|
|||
default => $source,
|
||||
}
|
||||
|
||||
$real_allowed_users = $sshd_allowed_users ? {
|
||||
$real_sshd_allowed_users = $sshd_allowed_users ? {
|
||||
'' => 'root',
|
||||
default => $sshd_allowed_users,
|
||||
}
|
||||
|
|
|
@ -115,4 +115,4 @@ X11Forwarding no
|
|||
|
||||
# override default of no subsystems
|
||||
Subsystem sftp /usr/libexec/openssh/sftp-server
|
||||
AllowUsers <%= allowed_users %>
|
||||
AllowUsers <%= real_sshd_allowed_users %>
|
||||
|
|
|
@ -84,4 +84,4 @@ AllowTcpForwarding yes
|
|||
|
||||
ChallengeResponseAuthentication no
|
||||
|
||||
AllowUsers <%= allowed_users %>
|
||||
AllowUsers <%= real_sshd_allowed_users %>
|
||||
|
|
|
@ -115,4 +115,4 @@ Subsystem sftp /usr/lib/misc/sftp-server
|
|||
# AllowTcpForwarding no
|
||||
# ForceCommand cvs server
|
||||
|
||||
AllowUsers <%= allowed_users %>
|
||||
AllowUsers <%= real_sshd_allowed_users %>
|
||||
|
|
|
@ -93,7 +93,7 @@ PasswordAuthentication no
|
|||
# override default of no subsystems
|
||||
Subsystem sftp /usr/libexec/sftp-server
|
||||
|
||||
AllowUsers <%= allowed_users %>
|
||||
AllowUsers <%= real_sshd_allowed_users %>
|
||||
|
||||
# Example of overriding settings on a per-user basis
|
||||
#Match User anoncvs
|
||||
|
|
Loading…
Reference in a new issue