diff options
author | Michael Scherer <misc@mageia.org> | 2010-11-23 01:11:15 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2010-11-23 01:11:15 +0000 |
commit | a30291f1e669307296064b64295a84492ec2297f (patch) | |
tree | 21be8adc79c780d445d211c07048655fb357ddb9 /modules/pam | |
parent | 049b56df6191edea37a2b351a823215205643aa2 (diff) | |
download | puppet-a30291f1e669307296064b64295a84492ec2297f.tar puppet-a30291f1e669307296064b64295a84492ec2297f.tar.gz puppet-a30291f1e669307296064b64295a84492ec2297f.tar.bz2 puppet-a30291f1e669307296064b64295a84492ec2297f.tar.xz puppet-a30291f1e669307296064b64295a84492ec2297f.zip |
- add a comment so I do not have the impression to have
lost 4h on debugging pam_ldap and openssh
Diffstat (limited to 'modules/pam')
-rw-r--r-- | modules/pam/manifests/init.pp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/modules/pam/manifests/init.pp b/modules/pam/manifests/init.pp index fdda7d47..c3d5f7fc 100644 --- a/modules/pam/manifests/init.pp +++ b/modules/pam/manifests/init.pp @@ -44,14 +44,18 @@ class pam { } } - # for server where only admin can connect + # for server where only admins can connect class admin_access inherits base { $access_class = "admin" - # not sure if this line is needed anymore, wil check later } # for server where people can connect with ssh ( git, svn ) class commiters_access inherits base { + # 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 include restrictshell::shell $access_class = "commiters" } |