On CentOS, wheel group allow users in this group to run commands as user root with sudo.

To add a user to wheel group, run

On Ubuntu/Debian, use

Remove a User from Group


Here we remove user designware from group sudo.

To remove a user from all seondary group, run


Add a Comment

Your email address will not be published. Required fields are marked *