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.