1
0
mirror of https://github.com/tommytran732/Arch-Setup-Script synced 2025-02-20 18:01:33 -05:00

Update groups list so CUPS/VPN support also works.

Signed-off-by: funk-on-code <113871227+funk-on-code@users.noreply.github.com>
This commit is contained in:
funk-on-code 2022-10-13 02:57:04 +00:00 committed by GitHub
parent 332abd589b
commit 66c68f3699
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -393,8 +393,7 @@ arch-chroot /mnt /bin/bash -e <<EOF
# (now suitable for desktop use on i3, KDE & GNOME)
if [ -n "$username" ]; then
echo "Adding $username with root privilege."
useradd -g users -G wheel,sys,storage,power,network,audio,video,input -c "$fullname" -m "$username"
useradd -g users -G wheel,sys,storage,scanner,power,optical,network,lp,audio,video,input -c "$fullname" -m "$username"
groupadd -r audit
gpasswd -a $username audit
fi