Code: Select all
su -c 'gpasswd -a USER sudo'
How do I do the opposite of that command in terminal? Want to remove USER from sudo group in debian 10.
Cant use https://askubuntu.com/questions/335987/ ... g-the-user
because I cant use the sudo command.
SOLUTION
Snooping around and found
Code: Select all
su -c 'gpasswd -d USER sudo'