To remove a user from the sudo group, you can use the following command:
sudo deluser username sudo
Replace username with the actual username of the user you want to remove from the sudo group.
Steps:
- Open a terminal.
- Run the command above with the appropriate username.
- To verify that the user has been removed from the
sudogroup, you can check their groups with:
groups username
You should no longer see sudo listed among the user's groups.
