diff --git a/talimatname/genel/sddm/sddm.conf b/talimatname/genel/sddm/sddm.conf index 9ed130f8c..a6792ab40 100644 --- a/talimatname/genel/sddm/sddm.conf +++ b/talimatname/genel/sddm/sddm.conf @@ -46,7 +46,10 @@ DefaultPath=/bin:/usr/bin:/usr/sbin:/usr/local/bin HideShells= # Hidden users -HideUsers=git,sddm +HideUsers= + +# Show users +ShowUsers=root # Maximum user id for displayed users MaximumUid=65000 diff --git a/talimatname/genel/sddm/talimat b/talimatname/genel/sddm/talimat index db7ea2708..adbe28963 100644 --- a/talimatname/genel/sddm/talimat +++ b/talimatname/genel/sddm/talimat @@ -18,6 +18,8 @@ wget http://anduin.linuxfromscratch.org/BLFS/blfs-bootscripts/blfs-bootscripts-2 tar xvf blfs-bootscripts-20160902.tar.xz cd ${name}-$version +sed -e '/UPOWER_SERVICE)/ s:^://:' \ + -i src/daemon/PowerManager.cpp mkdir build patch -p1 -i ../sddm-0.14.0-consolekit.patch patch -p1 -i ../ecb903e4.patch @@ -42,7 +44,8 @@ cat > $PKG/etc/pam.d/sddm << "EOF" auth requisite pam_nologin.so auth required pam_env.so -auth required pam_succeed_if.so uid >= 1000 quiet +auth required pam_succeed_if.so uid >= 0 quiet +#auth sufficient pam_succeed_if.so user ingroup nopasswdlogin auth include system-auth account include system-account @@ -60,7 +63,8 @@ cat > $PKG/etc/pam.d/sddm-autologin << "EOF" auth requisite pam_nologin.so auth required pam_env.so -auth required pam_succeed_if.so uid >= 1000 quiet +auth required pam_succeed_if.so uid >= 0 quiet +#auth sufficient pam_succeed_if.so user ingroup nopasswdlogin auth required pam_permit.so account include system-account