Merge pull request #78 from giresun28/master

sddm.güncellendi
This commit is contained in:
Giresun 2016-10-12 22:34:10 +03:00 committed by GitHub
commit 390e657e4d
4 changed files with 13 additions and 7 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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