[SOLVED]Whats the opposite of su -c 'gpasswd -a USER sudo' ?

Here you can discuss every aspect of Debian. Note: not for support requests!

[SOLVED]Whats the opposite of su -c 'gpasswd -a USER sudo' ?

Postby debian121212 » 2019-08-15 02:46

Ran accross the command

Code: Select all
su -c 'gpasswd -a USER sudo'

as per 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.

Snooping around and found
Code: Select all
su -c 'gpasswd -d USER sudo'
User avatar
Posts: 79
Joined: 2019-01-03 01:34

Re: [SOLVED]Whats the opposite of su -c 'gpasswd -a USER sud

Postby phenest » 2019-08-15 14:39

For future reference, try the man pages:

Code: Select all
man gpasswd
ASRock H77 Pro4-M i7 3770K - 32GB RAM - Pioneer BDR-209D
User avatar
Posts: 1704
Joined: 2010-03-09 09:38
Location: The Matrix

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 11 guests