kurkos.sh 483 B

1234567891011121314
  1. groupadd -g 65 lightdm &&
  2. useradd -c "Lightdm Daemon" \
  3. -d /var/lib/lightdm \
  4. -u 65 -g lightdm \
  5. -s /bin/false lightdm
  6. install -v -dm755 -o lightdm -g lightdm /var/lib/lightdm &&
  7. install -v -dm755 -o lightdm -g lightdm /var/lib/lightdm-data &&
  8. install -v -dm755 -o lightdm -g lightdm /var/cache/lightdm &&
  9. install -v -dm770 -o lightdm -g lightdm /var/log/lightdm
  10. cp -v /etc/inittab{,-orig} &&
  11. sed -i '/initdefault/ s/3/5/' /etc/inittab