How to remove user from sudo group?

To remove a user from the sudo group, you can use the deluser command. Here’s the syntax:

sudo deluser username sudo

Replace username with the actual name of the user you want to remove from the sudo group. For example, to remove a user named jack, you would run:

sudo deluser jack sudo

After executing this command, the user will no longer have sudo privileges.

0 Comments

no data
Be the first to share your comment!