aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/access_classes/manifests/committers.pp
blob: 81dbdb136086dcb843946bac676fc97b5362d0f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# for server where people can connect with ssh ( git, svn )
class access_classes::committers {
    # this is required, as we force the shell to be the restricted one
    # openssh will detect if the file do not exist and while refuse to log the
    # user, and erase the password ( see pam_auth.c in openssh code,
    # seek badpw )
    # so the file must exist
    # permission to use svn, git, etc must be added separatly

    pam::multiple_ldap_access { 'committers':
        access_classes   => ['mga-shell_access'],
        restricted_shell => true,
    }
}