The sample_pet sudoers file shows an example which includes package=sudo and pre=visudo -cf. A file with both of these lines currently cannot work.
When you try that without sudo installed, pets requires the pre command to pass before agreeing to apply the changes and install sudo.
The
sample_petsudoers file shows an example which includespackage=sudoandpre=visudo -cf. A file with both of these lines currently cannot work.When you try that without
sudoinstalled,petsrequires theprecommand to pass before agreeing to apply the changes and installsudo.