diff options
author | Eric Hameleers <alien@slackware.com> | 2019-10-06 23:36:02 +0200 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2019-10-06 23:36:02 +0200 |
commit | 55bb52de959214602121867d55723cf27d7684a7 (patch) | |
tree | 62a82ef1ea1b67e72068d2e96583fe25594fbff4 /kde/post-install/sddm-qt5/pam.d | |
parent | 57ec3da3a54f8380517de0b37f42be75ef04a307 (diff) | |
download | ktown-55bb52de959214602121867d55723cf27d7684a7.tar.gz ktown-55bb52de959214602121867d55723cf27d7684a7.tar.xz |
Add support for building Plasma5 on a PAM-ified Slackwarepam
Set the variable SLACKPAM to "yes" in kde/kde.options if you want to
add support for PAM.
These packages will be supplied by a pam-ified Slackware, so they should not
be installed from 'ktown':
deps:ConsoleKit2,cracklib
These packages will react to SLACKPAM variable setting:
plasma:kscreenlocker,plasma-workspace
plasma-extra:sddm-qt5
Uncomment in kde/modules/plasma and compile:
plasma:kwallet-pam
Diffstat (limited to '')
-rw-r--r-- | kde/post-install/sddm-qt5/pam.d/sddm | 15 | ||||
-rw-r--r-- | kde/post-install/sddm-qt5/pam.d/sddm-autologin | 14 | ||||
-rw-r--r-- | kde/post-install/sddm-qt5/pam.d/sddm-greeter | 18 |
3 files changed, 47 insertions, 0 deletions
diff --git a/kde/post-install/sddm-qt5/pam.d/sddm b/kde/post-install/sddm-qt5/pam.d/sddm new file mode 100644 index 0000000..b4d902a --- /dev/null +++ b/kde/post-install/sddm-qt5/pam.d/sddm @@ -0,0 +1,15 @@ +#%PAM-1.0 + +auth include login +-auth optional pam_gnome_keyring.so +-auth optional pam_kwallet5.so + +account include login + +password include login +-password optional pam_gnome_keyring.so use_authtok + +session optional pam_keyinit.so force revoke +session include login +-session optional pam_gnome_keyring.so auto_start +-session optional pam_kwallet5.so auto_start diff --git a/kde/post-install/sddm-qt5/pam.d/sddm-autologin b/kde/post-install/sddm-qt5/pam.d/sddm-autologin new file mode 100644 index 0000000..daf6f4b --- /dev/null +++ b/kde/post-install/sddm-qt5/pam.d/sddm-autologin @@ -0,0 +1,14 @@ +#%PAM-1.0 +auth required pam_env.so +auth include system-auth +auth include postlogin +-auth optional pam_gnome_keyring.so +-auth optional pam_kwallet5.so +account include system-auth +password include system-auth +session include system-auth +session required pam_loginuid.so +session optional pam_ck_connector.so nox11 +session include postlogin +-session optional pam_gnome_keyring.so auto_start +-session optional pam_kwallet5.so auto_start diff --git a/kde/post-install/sddm-qt5/pam.d/sddm-greeter b/kde/post-install/sddm-qt5/pam.d/sddm-greeter new file mode 100644 index 0000000..7c77b68 --- /dev/null +++ b/kde/post-install/sddm-qt5/pam.d/sddm-greeter @@ -0,0 +1,18 @@ +#%PAM-1.0 + +# Load environment from /etc/environment and ~/.pam_environment +auth required pam_env.so + +# Always let the greeter start without authentication +auth required pam_permit.so + +# No action required for account management +account required pam_permit.so + +# Can't change password +password required pam_deny.so + +# Setup session +session required pam_unix.so +session optional pam_systemd.so +session optional pam_elogind.so |