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

11 lines
319 B
Plaintext
Raw Normal View History

2024-10-27 17:17:07 +01:00
#!/bin/bash
2024-11-27 23:17:32 +01:00
groupadd -g 1001 "pikaos"
2024-11-27 18:53:09 +01:00
adduser --uid 1001 --gid 1001 --quiet --disabled-password --shell /bin/bash --gecos "PikaOS Live User" "pikaos"
2024-10-27 17:17:07 +01:00
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