From 1d7ae814bbd03173fede0483a656609b01ba1771 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Tue, 17 May 2016 18:03:14 +0200 Subject: [PATCH] committing changes in /etc after emerge run Package changes: +x11-misc/sddm-0.13.0-r3 --- dbus-1/system.d/org.freedesktop.sddm.conf | 21 +++++++++++++++++++++ pam.d/sddm | 10 ++++++++++ pam.d/sddm-autologin | 11 +++++++++++ pam.d/sddm-greeter | 17 +++++++++++++++++ 4 files changed, 59 insertions(+) create mode 100644 dbus-1/system.d/org.freedesktop.sddm.conf create mode 100644 pam.d/sddm create mode 100644 pam.d/sddm-autologin create mode 100644 pam.d/sddm-greeter diff --git a/dbus-1/system.d/org.freedesktop.sddm.conf b/dbus-1/system.d/org.freedesktop.sddm.conf new file mode 100644 index 00000000..66d9f240 --- /dev/null +++ b/dbus-1/system.d/org.freedesktop.sddm.conf @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + diff --git a/pam.d/sddm b/pam.d/sddm new file mode 100644 index 00000000..c00f221c --- /dev/null +++ b/pam.d/sddm @@ -0,0 +1,10 @@ +#%PAM-1.0 + +auth include system-login +account include system-login +password include system-login +session include system-login +-auth optional pam_kwallet.so kdehome=.kde4 +-auth optional pam_kwallet5.so +-session optional pam_kwallet.so +-session optional pam_kwallet5.so auto_start diff --git a/pam.d/sddm-autologin b/pam.d/sddm-autologin new file mode 100644 index 00000000..2432b51c --- /dev/null +++ b/pam.d/sddm-autologin @@ -0,0 +1,11 @@ +#%PAM-1.0 +auth required pam_env.so +auth required pam_tally.so file=/var/log/faillog onerr=succeed +auth required pam_shells.so +auth required pam_nologin.so +auth required pam_permit.so +-auth optional pam_gnome_keyring.so +account include system-local-login +password include system-local-login +session include system-local-login +-session optional pam_gnome_keyring.so auto_start diff --git a/pam.d/sddm-greeter b/pam.d/sddm-greeter new file mode 100644 index 00000000..44e209e9 --- /dev/null +++ b/pam.d/sddm-greeter @@ -0,0 +1,17 @@ +#%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 -- 2.39.5