diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2020-05-18 23:30:26 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2020-05-19 08:59:53 +0200 |
commit | bb7dc1ffb7eb47db06eded668ce6c9e8eaa9cec0 (patch) | |
tree | 8d9835e5b3c1b0dff6059afab270c49cc79fb695 /source/kde | |
parent | ffef56590d68c334819ecf26118a257bdafccf6b (diff) | |
download | current-bb7dc1ffb7eb47db06eded668ce6c9e8eaa9cec0.tar.gz current-bb7dc1ffb7eb47db06eded668ce6c9e8eaa9cec0.tar.xz |
Mon May 18 23:30:26 UTC 202020200518233026
d/Cython-0.29.18-x86_64-1.txz: Upgraded.
kde/kde-workspace-4.11.22-x86_64-8.txz: Rebuilt.
Added /etc/pam.d/kde-np to fix KDM autologin.
Thanks to USUARIONUEVO for the bug report.
l/gnu-efi-3.0.12-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/kde')
-rw-r--r-- | source/kde/build/kde-workspace | 2 | ||||
-rw-r--r-- | source/kde/doinst.sh/kde-workspace | 3 | ||||
-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 |
4 files changed, 17 insertions, 1 deletions
diff --git a/source/kde/build/kde-workspace b/source/kde/build/kde-workspace index 7f8f011eb..45a4fb75d 100644 --- a/source/kde/build/kde-workspace +++ b/source/kde/build/kde-workspace @@ -1 +1 @@ -7 +8 diff --git a/source/kde/doinst.sh/kde-workspace b/source/kde/doinst.sh/kde-workspace index 796b2956b..91bd6bc69 100644 --- a/source/kde/doinst.sh/kde-workspace +++ b/source/kde/doinst.sh/kde-workspace @@ -18,6 +18,9 @@ config etc/kde/kdm/kdmrc.new if [ -r etc/pam.d/kde.new ]; then config etc/pam.d/kde.new fi +if [ -r etc/pam.d/kde-np.new ]; then + config etc/pam.d/kde-np.new +fi if [ -x usr/bin/update-desktop-database ]; then usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1 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 |