mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-03-05 00:11:10 +00:00
Mark the 'system' uid 1000 user as a system user, to avoid it showing up in the greeter
This commit is contained in:
parent
46ada53082
commit
e6cd959f4c
@ -12,6 +12,9 @@ echo "$USER:$USER" | chpasswd
|
||||
adduser --gecos system --no-create-home --disabled-login --disabled-password system --uid 1000
|
||||
adduser --gecos radio --no-create-home --disabled-login --disabled-password radio --uid 1001
|
||||
|
||||
# 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user