diff --git a/talimatname/genel/sddm/sddm.conf b/talimatname/genel/sddm/sddm.conf index 608e05408..e89ff750b 100644 --- a/talimatname/genel/sddm/sddm.conf +++ b/talimatname/genel/sddm/sddm.conf @@ -43,7 +43,7 @@ DefaultPath=/bin:/usr/bin:/usr/sbin:/usr/local/bin # Hidden shells # Users with these shells as their default won't be listed -HideShells= +HideShells=/usr/sbin/nologin,/bin/false,/bin/sync # Hidden users HideUsers= @@ -52,7 +52,7 @@ HideUsers= MaximumUid=65000 # Minimum user id for displayed users -MinimumUid=1000 +MinimumUid=0 # Remember the session of the last successfully logged in user RememberLastSession=true diff --git a/talimatname/genel/sddm/sddm.kos-kur b/talimatname/genel/sddm/sddm.kos-kur index cefc29022..71409313f 100644 --- a/talimatname/genel/sddm/sddm.kos-kur +++ b/talimatname/genel/sddm/sddm.kos-kur @@ -3,10 +3,14 @@ echo "Lxdm sistemden kaldırılıyor." mps -s lxdm if ! getent group sddm > /dev/null; then - groupadd -g 64 --system sddm + groupadd -g 64 sddm fi if ! getent passwd sddm > /dev/null; then - useradd -c "Simple Desktop Display Manager" --system -d /var/lib/sddm -s /usr/bin/nologin -u 64 -g sddm sddm + useradd -c "Simple Desktop Display Manager" \ + -d /var/lib/sddm \ + -u 64 -g sddm \ + -s /bin/false sddm + passwd -l sddm > /dev/null fi diff --git a/talimatname/genel/sddm/sddm.kur-kos b/talimatname/genel/sddm/sddm.kur-kos index 6ad79a518..7b0e7d72e 100644 --- a/talimatname/genel/sddm/sddm.kur-kos +++ b/talimatname/genel/sddm/sddm.kur-kos @@ -1,3 +1,4 @@ -sed -i "s/^id:[3-5]/id:5/" /etc/inittab +/etc/rc.d/init.d/sddm start +cp -v /etc/inittab{,-orig} && +sed -i '/initdefault/ s/3/5/' /etc/inittab echo "Init default set to 5 in the /etc/inittab file" -ln -s /etc/init.d/sddm /etc/rc.d/rc5.d/S90sddm diff --git a/talimatname/genel/sddm/talimat b/talimatname/genel/sddm/talimat index 4e9ae906d..7b2cf5c04 100644 --- a/talimatname/genel/sddm/talimat +++ b/talimatname/genel/sddm/talimat @@ -1,7 +1,7 @@ # Description : The SDDM package contains a lightweight display manager written in Qt and QML. # URL: https://www.kde.org/ # Packager: alihan-ozturk28@hotmail.com -# Depends on: cmake qt5 upower consolekit2 +# Depends on: cmake kf5-extra-cmake-modules qt5 upower consolekit2 name=sddm release=1 @@ -40,6 +40,7 @@ auth requisite pam_nologin.so auth required pam_env.so auth required pam_succeed_if.so uid >= 1000 quiet +auth sufficient pam_succeed_if.so user ingroup nopasswdlogin auth include system-auth account include system-account