How do I list sudo users?

How do I list sudo users?
Answer
The getent group sudo command
lists only users who have the sudo group. The rest of the commands test whether the user is actually capable of running as root. There are also other additions to improve the formatting of the output.
 

Tìm kiếm

Back
Top