[SOLVED]Whats the opposite of su -c 'gpasswd -a USER sudo' ?
Posted: 2019-08-15 02:46
Ran accross the command
as per http://forums.debian.net/viewtopic.php?f=17&t=122335
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 -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'