how to add a user to sudo group code example Example: show users in sudo group grep -Po '^sudo.+:\K.*$' /etc/group