Browse Source

add DenyUsers and DenyGroups example

master
Niels Abspoel 10 years ago
parent
commit
6e65cdad03
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      pillar.example

+ 4
- 1
pillar.example View File

@@ -33,7 +33,10 @@ sshd_config:
UsePAM: 'yes'
UseDNS: 'yes'
AllowUsers: 'vader@10.0.0.1 maul@evil.com sidious luke'
AllowGroups: 'wheel staff'
DenyUsers: 'yoda chewbaca@112.10.21.1'
AllowGroups: 'wheel staff imperial'
DenyGroups: 'rebel'
Deny
matches:
sftp_chroot:
type:

Loading…
Cancel
Save