2018-06-09 00:06:58 +02:00
|
|
|
sed -i "s/^id:[3-5]/id:5/" /etc/inittab
|
2018-08-31 00:36:31 +02:00
|
|
|
if ! getent group lightdm 1>/dev/null 2>/dev/null ; then
|
|
|
|
groupadd -g 800 lightdm
|
|
|
|
elif ! getent passwd lightdm 1>/dev/null 2>/dev/null ; then
|
|
|
|
useradd -d /var/lib/lightdm -s /bin/false -u 800 -g 800 lightdm
|
|
|
|
fi
|
|
|
|
|
|
|
|
mkdir -p /var/lib/lightdm
|
|
|
|
chown -Rf lightdm:lightdm /var/lib/lightdm
|
|
|
|
mkdir -p /var/lib/lightdm-data
|
|
|
|
chown -Rf lightdm:lightdm /var/lib/lightdm-data
|
2018-06-09 00:06:58 +02:00
|
|
|
[ `mps -kk slim` = "kurulu" ] && mps sil slim
|