summaryrefslogtreecommitdiffstats
path: root/remote/modules
diff options
context:
space:
mode:
authorSimon Rettberg2013-04-24 20:11:37 +0200
committerSimon Rettberg2013-04-24 20:11:37 +0200
commit584b5267e0b300a8ec5025fa06d88dd6e9b326f8 (patch)
treeb7a29a230c8c6e0d099f23ab0f3d4fcc4eb09ed8 /remote/modules
parentadd kernel dep to rootfs-stage32 for suse (diff)
downloadtm-scripts-584b5267e0b300a8ec5025fa06d88dd6e9b326f8.tar.gz
tm-scripts-584b5267e0b300a8ec5025fa06d88dd6e9b326f8.tar.xz
tm-scripts-584b5267e0b300a8ec5025fa06d88dd6e9b326f8.zip
several suse fixes (login etc)
Diffstat (limited to 'remote/modules')
-rw-r--r--remote/modules/kernel/kernel.build2
-rw-r--r--remote/modules/pam/data/etc/pam.d/other10
-rw-r--r--remote/modules/pam/data/etc/pam.d/xdm6
-rw-r--r--remote/modules/pam/pam.conf.zypper4
4 files changed, 19 insertions, 3 deletions
diff --git a/remote/modules/kernel/kernel.build b/remote/modules/kernel/kernel.build
index 8b238abf..0248a980 100644
--- a/remote/modules/kernel/kernel.build
+++ b/remote/modules/kernel/kernel.build
@@ -6,7 +6,7 @@ fetch_source() {
[ ! -e ksrc ] && ln -s $(ls -d linux-*/) ksrc
elif [ "x$PACKET_MANAGER" == "xzypper" ]; then
pdebug "zypping kernel source"
- zypper si kernel-source
+ zypper --no-refresh install -y kernel-source
# find src directory
local SOURCE_DIR=$(rpm -ql kernel-source |grep -E -o '^/.*src/linux-[^/]+/' |head -1)
diff --git a/remote/modules/pam/data/etc/pam.d/other b/remote/modules/pam/data/etc/pam.d/other
new file mode 100644
index 00000000..840eb77f
--- /dev/null
+++ b/remote/modules/pam/data/etc/pam.d/other
@@ -0,0 +1,10 @@
+#%PAM-1.0
+auth required pam_warn.so
+auth required pam_deny.so
+account required pam_warn.so
+account required pam_deny.so
+password required pam_warn.so
+password required pam_deny.so
+session required pam_warn.so
+session required pam_deny.so
+
diff --git a/remote/modules/pam/data/etc/pam.d/xdm b/remote/modules/pam/data/etc/pam.d/xdm
new file mode 100644
index 00000000..d21651db
--- /dev/null
+++ b/remote/modules/pam/data/etc/pam.d/xdm
@@ -0,0 +1,6 @@
+#%PAM-1.0
+auth include common-auth
+account include common-account
+password include common-password
+session required pam_loginuid.so
+session include common-session
diff --git a/remote/modules/pam/pam.conf.zypper b/remote/modules/pam/pam.conf.zypper
index 311b7f6c..ab0039ff 100644
--- a/remote/modules/pam/pam.conf.zypper
+++ b/remote/modules/pam/pam.conf.zypper
@@ -1,5 +1,5 @@
-REQUIRED_DEPENDENCIES=" pam_ldap pam pam-devel nss_ldap nss-pam-ldapd pam-modules"
-REQUIRED_PACKAGES=" pam_ldap pam pam-devel nss_ldap nss-pam-ldapd pam-modules"
+REQUIRED_DEPENDENCIES=" pam_ldap pam pam-devel nss_ldap pam-modules"
+REQUIRED_PACKAGES=" pam_ldap pam pam-devel nss_ldap pam-modules"
REQUIRED_DIRECTORIES=" /lib
/usr/lib
/etc/security"