Merge pull request #107 from giresun28/master

sddm.hazırlandı
This commit is contained in:
Giresun 2016-11-05 07:02:26 +02:00 committed by GitHub
commit b33c7856c1
2 changed files with 7 additions and 3 deletions

View File

@ -46,7 +46,7 @@ DefaultPath=/bin:/usr/bin:/usr/sbin:/usr/local/bin
HideShells=
# Hidden users
HideUsers=git,sddm
HideUsers=
# Maximum user id for displayed users
MaximumUid=65000

View File

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