Il 03/02/20 22:23, Mike Wright ha scritto:
On 2/3/20 12:34 PM, Earl Ramirez wrote:
> On Sun, 2020-02-02 at 23:27 -0500, Todd Zullinger wrote:
>> The format of that rule looks fine to me. You might look in
>> the logs (/var/log/secure if you've got syslog enabled, else
>> use the journalctl command).
>>
>> It may be that you're hitting another rule which supercedes
>> the one you've got there (for example, if there's a rule
>> matching a group you're in). Using `sudo -U mike -ll` might
>> be helpful.
>
> +1 for Todd's comments, I have added a couple of commands and I was
> able to access those commands without being prompt for the sudo passwod.
Thanks, Todd and Earl.
I am befuddled. Here is my sudoers file:
Defaults env_reset
Defaults mail_badpass
Defaults secure_path=<clipped: some path>
Cmnd_Alias LXC=/usr/bin/lxc
root ALL=(ALL:ALL) ALL
mike ALL=(ALL) NOPASSWD:LXC
I'm not sure, but it could be (space required)
mike ALL=(ALL) NOPASSWD: LXC