From 8b6e630d7d963bef74b27880abee40faa3615138 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sat, 27 Jun 2009 19:41:04 +0200 Subject: [PATCH] Add pam.d/common-session to puppet --- files/etc/pam.d/common-session | 15 +++++++++++++++ modules/debian-org/manifests/init.pp | 3 +++ 2 files changed, 18 insertions(+) create mode 100644 files/etc/pam.d/common-session diff --git a/files/etc/pam.d/common-session b/files/etc/pam.d/common-session new file mode 100644 index 00000000..9ae43732 --- /dev/null +++ b/files/etc/pam.d/common-session @@ -0,0 +1,15 @@ +## +## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE. +## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git +## + +# +# /etc/pam.d/common-session - session-related modules common to all services +# +# This file is included from other service-specific PAM config files, +# and should contain a list of modules that define tasks to be performed +# at the start and end of sessions of *any* kind (both interactive and +# non-interactive). The default is pam_unix. +# +session required pam_unix.so +session optional pam_mkhomedir.so skel=/etc/skel umask=0022 diff --git a/modules/debian-org/manifests/init.pp b/modules/debian-org/manifests/init.pp index 0ec10281..33672575 100644 --- a/modules/debian-org/manifests/init.pp +++ b/modules/debian-org/manifests/init.pp @@ -70,6 +70,9 @@ class debian-org { "/etc/ldap/ldap.conf": source => "puppet:///files/etc/ldap/ldap.conf", ; + "/etc/pam.d/common-session": + source => "puppet:///files/etc/pam.d/common-session", + ; } case $hostname { handel: { -- 2.39.5