agent-ptrace regression test failing in Ubuntu 22.04

Darren Tucker dtucker at dtucker.net
Thu Dec 1 17:38:01 AEDT 2022


On Thu, 1 Dec 2022 at 13:57, Darren Tucker <dtucker at dtucker.net> wrote:
[...]
> It does indeed seem to be a problem with sudo-1.9.9: it prompts for a
> password for a command with a full path

In my case, the prompt is misleading because what it's complaining
about is that "nobody" did not have execute permission on one of the
directories in the path to ssh-add.  "chmod o+x"-ing that directory
and the test passes.  Newer sudo versions (eg 1.9.12) are more
descriptive:

$ cp `which id` . && </dev/null /usr/local/bin/sudo -S -u nobody `pwd`/id
sudo: unable to execute /home/builder/id: Permission denied

-- 
Darren Tucker (dtucker at dtucker.net)
GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860  37F4 9357 ECEF 11EA A6FA (new)
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.


More information about the openssh-unix-dev mailing list