Bugzilla – Bug 1062
commands with relative path no longer working
Last modified: 2023-12-13 13:29:16 MST
Created attachment 576 [details] sudo -V output Previously (at least on 1.9.5p2), a config like: user ALL=(root) NOPASSWD: /app/abc/scripts/* Would allow the use of relative names in the command specification. Eg. 'sudo /app/abc/plugins/../scripts/command' But now on 1.9.14p3, only absolute command path is allowed. Eg. 'sudo /app/abc/scripts/command'. I couldn't figure out if this was an intentional change to how sudo works from the changelog and if so when this was introduced
Yes, that is a bug that was introduced in sudo 1.9.14. I just committed the fix in https://www.sudo.ws/repos/sudo/rev/e7545a3736c6
This is fixed in sudo 1.9.15p3.