How do I check if a user is Sudo in Linux?

How do I check if a user is Sudo in Linux?
Answer
You can also use “getent” command instead of “grep” to get the same result. As you see in the above output, “sk” and “ostechnix” are the sudo users in my system.
 

Tìm kiếm

Back
Top