live-iso-gnome/hooks/0-create-liveuser.chroot

10 lines
271 B
Plaintext
Raw Normal View History

2024-08-01 20:48:06 +02:00
#!/bin/bash
2024-08-01 20:30:26 +02:00
2024-08-01 20:48:06 +02:00
adduser --quiet --disabled-password --shell /bin/bash --gecos "PikaOS Live User" "pikaos"
passwd -d "pikaos"
for group in adm cdrom sudo render dip video plugdev input render lpadmin sambashare
do
groupadd $group || true
usermod -a -G $group "pikaos"
done