live-iso-kde/hooks/0-create-liveuser.chroot
Ward from fusion-voyager-3 a5342cb15a attempt 0 at fixing live user
2024-08-01 21:48:06 +03: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