]> Frank Brehm's Git Trees - config/samara/etc.git/commitdiff
committing changes in /etc after emerge run
authorroot Samara <root@samara.pb.local>
Wed, 4 May 2016 09:44:43 +0000 (11:44 +0200)
committerroot Samara <root@samara.pb.local>
Wed, 4 May 2016 09:44:43 +0000 (11:44 +0200)
Package changes:
+x11-misc/sddm-0.13.0-r3

dbus-1/system.d/org.freedesktop.sddm.conf [new file with mode: 0644]
pam.d/sddm [new file with mode: 0644]
pam.d/sddm-autologin [new file with mode: 0644]
pam.d/sddm-greeter [new file with mode: 0644]

diff --git a/dbus-1/system.d/org.freedesktop.sddm.conf b/dbus-1/system.d/org.freedesktop.sddm.conf
new file mode 100644 (file)
index 0000000..66d9f24
--- /dev/null
@@ -0,0 +1,21 @@
+<!DOCTYPE busconfig PUBLIC
+ "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+
+  <!-- Only root can own the service -->
+  <policy user="root">
+    <allow own="org.freedesktop.DisplayManager"/>
+    <allow send_destination="org.freedesktop.DisplayManager" send_interface="org.freedesktop.DisplayManager" send_member="AddSeat"/>
+  </policy>
+
+  <policy context="default">
+    <allow send_destination="org.freedesktop.DisplayManager" send_interface="org.freedesktop.DBus.Properties"/>
+    <allow send_destination="org.freedesktop.DisplayManager" send_interface="org.freedesktop.DBus.Introspectable"/>
+    <allow send_destination="org.freedesktop.DisplayManager" send_interface="org.freedesktop.DisplayManager"/>
+    <allow send_destination="org.freedesktop.DisplayManager" send_interface="org.freedesktop.DisplayManager.Seat"/>
+    <allow send_destination="org.freedesktop.DisplayManager" send_interface="org.freedesktop.DisplayManager.Session"/>
+    <deny send_destination="org.freedesktop.DisplayManager" send_interface="org.freedesktop.DisplayManager" send_member="AddSeat"/>
+  </policy>
+
+</busconfig>
diff --git a/pam.d/sddm b/pam.d/sddm
new file mode 100644 (file)
index 0000000..c00f221
--- /dev/null
@@ -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 (file)
index 0000000..2432b51
--- /dev/null
@@ -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 (file)
index 0000000..44e209e
--- /dev/null
@@ -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