List the members of the sudo group
list sudo users debian | who has sudo access | show members of sudo group | getent | sudo | usersgetent group sudoShows the group entry of the sudo group with all members at the end of the line. On Debian and Ubuntu, members of this group may run any command as root by default. getent also takes groups from LDAP or other sources into account.
Note: Privileges can also be granted directly in /etc/sudoers or files under /etc/sudoers.d/. Check these as root with grep -rv '^#' /etc/sudoers.d/.
Also searched as
- list sudo users debian
- who has sudo access
- show members of sudo group