milis/talimatname/genel/s/sddm/sddm.kos-kur

19 lines
415 B
Plaintext
Raw Normal View History

2016-07-23 02:32:16 +02:00
echo "Lxdm sistemden kaldırılıyor."
2016-07-24 00:26:49 +02:00
mps -s lxdm
2016-02-24 01:27:23 +01:00
if ! getent group sddm > /dev/null; then
2016-10-13 03:15:34 +02:00
groupadd -g 64 sddm
2016-02-24 01:27:23 +01:00
fi
if ! getent passwd sddm > /dev/null; then
2016-10-13 03:15:34 +02:00
useradd -c "Simple Desktop Display Manager" \
-d /var/lib/sddm \
-u 64 -g sddm \
-s /bin/false sddm
2016-02-24 01:27:23 +01:00
passwd -l sddm > /dev/null
fi
2016-07-23 02:32:16 +02:00
mkdir -p /var/lib/sddm
chown -R sddm:sddm /var/lib/sddm > /dev/null