How do I check if a user has sudo permissions?

How do I check if a user has sudo permissions?
Answer
Run sudo -l . This will list any sudo privileges you have. since it won’t stuck on the password input if you do not have the sudo access.
 

Tìm kiếm

Back
Top