install stage 2: add more user groups

master
BodgeMaster 2026-04-09 16:22:38 +02:00
parent 466f67ac4c
commit 6f47e6ee19
1 changed files with 1 additions and 6 deletions

View File

@ -131,13 +131,8 @@ echo "Setting up user..."
read -p "Enter username: " NEW_USER
#TODO: let the user choose additional groups (suggest sane defaults for different use cases)
# cdrom? optical? storage? what they do?
# scanner
# network (check if this even still does anything)
# kvm
# audio, video
# dialout
# users (dows this even do anything)
useradd -m -s /bin/bash -G wheel,video,audio,dialout,network "$NEW_USER"
useradd -m -s /bin/bash -G wheel,users,kvm,video,audio,dialout,network,scanner "$NEW_USER"
passwd "$NEW_USER"
echo "Cleaning up installation files..."