#!/bin/sh sed -i "s/username/$(getent passwd 10000 | cut -d: -f1)/g" /usr/share/lightdm/lightdm.conf.d/64-autologin.conf rc-update add lightdm default rc-update add networkmanager default