Arch/Manjaro bash script with sudo command? Allow utility be ran by a non-root user without password?

Sincere apologies. As you can see at Restore default user groups - #2 by Aragorn, I was confused with that, and I am sill here.

However, there is no reason to panic. Just restore the default groups, as in that reply, and then use sudo usermod -aG instead of sudo usermod -a -G for adding the user to the Group.

1 Like