bug #888 is back?

Doug Zongker <[email protected]> Thu, 7 Jul 2022 17:03:24 -0700
Newsgroups gmane.comp.tools.sudo.user
Message-ID <CAF66i6HdR=hP18Wd1Ms75YoKj1SPiOLzwtAw5UX+Ao8coNiVRA@mail.gmail.com>
Hello,

I have a sudoers with "%sudo ALL = NOPASSWD: ALL" to enable passwordless
usage of sudo.

If I attempt to run a file that doesn't exist, I still get prompted for a
password:

$ sudo echo hello
hello
$ sudo /tmp/foo
[sudo] password for dougz:
sudo: a password is required
$ touch /tmp/foo
$ sudo /tmp/foo
sudo: /tmp/foo: command not found

This happens on sudo 1.9.9 and 1.9.10.  It does _not_ happen on 1.9.5p2:

$ ls -l /tmp/foo
ls: cannot access '/tmp/foo': No such file or directory
$ sudo /tmp/foo
sudo: /tmp/foo: command not found

I found https://bugzilla.sudo.ws/show_bug.cgi?id=888 which seems similar,
but was fixed for 1.8.28.  Is it possible this has come back?

thanks,
dz
____________________________________________________________
sudo-users mailing list <[email protected]>
For list information, options, or to unsubscribe, visit:
https://www.sudo.ws/mailman/listinfo/sudo-users