live-iso-hyprland/hooks/0-create-liveuser.chroot
2024-10-27 17:17:07 +01:00

10 lines
271 B
Bash
Executable File

#!/bin/bash
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