[sudo-users] bug #888 is back?

Doug Zongker dougz at isotropic.org
Thu Jul 7 18:03:24 MDT 2022


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


More information about the sudo-users mailing list