I have a sudoers
file with many entries.
At the top is a Defaults setting:
# default sudo password is the ROOT password (not the invoking user's password)
Defaults rootpw
However there is one particular command I want to let users run as root so long as they enter their own password.
How can I specify a particular command requires the invoking user's password - thereby overriding the "Defaults" set?
e.g. how to modify the below command to require the invoking user's password (not the root password):
markus ALL = PASSWD: /usr/sbin/tcpdump -p -i eth2 host 192.168.14.15