Security administration · Question 10 of 12

How do you show which commands you yourself may run via sudo?

1 answer is correct. Medium Created with AI

Show answer

Answer

  • A sudo -l

Explanation

-l lists the matching rules from sudoers. -v only extends the validity of the cached password, -k discards it, -s starts a shell.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications