mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-22 10:51:11 +00:00
Add default lightdm setup and make sure that system user is not shown by bumping system UID_MIN
This commit is contained in:
parent
defcbd3fb7
commit
af86d611c5
@ -11,6 +11,9 @@ echo "$USER:$USER" | chpasswd
|
||||
|
||||
adduser --gecos system --no-create-home --disabled-login --disabled-password system --uid 1000
|
||||
|
||||
# Prevent the system user from being presented in the greeter by bumping MIN_UID
|
||||
sed -i 's/^\(UID_MIN\s\+\).*/\11001/g' /etc/login.defs
|
||||
|
||||
mkdir -p /home/$USER/Music
|
||||
mkdir -p /home/$USER/Pictures
|
||||
mkdir -p /home/$USER/Videos
|
||||
|
@ -0,0 +1,5 @@
|
||||
[SeatDefaults]
|
||||
user-session=ubuntu-touch
|
||||
greeter-session=qml-phone-greeter
|
||||
autologin-user=phablet
|
||||
autologin-in-background=true
|
Loading…
x
Reference in New Issue
Block a user