diff options
Diffstat (limited to '')
-rw-r--r-- | source/kde/post-install/kde-workspace.post-install | 3 | ||||
-rw-r--r-- | source/kde/post-install/kde-workspace/config/kde-np.pamd | 10 |
2 files changed, 13 insertions, 0 deletions
diff --git a/source/kde/post-install/kde-workspace.post-install b/source/kde/post-install/kde-workspace.post-install index 8dbc910db..915587ee2 100644 --- a/source/kde/post-install/kde-workspace.post-install +++ b/source/kde/post-install/kde-workspace.post-install @@ -45,6 +45,9 @@ if [ -L /lib${LIBDIRSUFFIX}/libpam.so.? ]; then cp -a $CWD/post-install/kde-workspace/config/kde.pamd $PKG/etc/pam.d/kde.new chown root:root $PKG/etc/pam.d/kde.new chmod 644 $PKG/etc/pam.d/kde.new + cp -a $CWD/post-install/kde-workspace/config/kde-np.pamd $PKG/etc/pam.d/kde-np.new + chown root:root $PKG/etc/pam.d/kde-np.new + chmod 644 $PKG/etc/pam.d/kde-np.new fi # Move the KDM files someplace FHS compliant: diff --git a/source/kde/post-install/kde-workspace/config/kde-np.pamd b/source/kde/post-install/kde-workspace/config/kde-np.pamd new file mode 100644 index 000000000..013528248 --- /dev/null +++ b/source/kde/post-install/kde-workspace/config/kde-np.pamd @@ -0,0 +1,10 @@ +#%PAM-1.0 +auth requisite pam_nologin.so +auth required pam_env.so + +auth required pam_succeed_if.so uid >= 1000 quiet +auth required pam_permit.so + +account include system-auth +password include system-auth +session include system-auth |