Bugzilla – Bug 1042
The behavior of sudo -l changed from 1.8.32 to 1.9.11p2
Last modified: 2022-10-31 02:48:25 MDT
Created attachment 569 [details] snippet I compiled both versions of sudo on AIX 7.1 with the ibm c compiler. When I do a sudo -l <command> on 1.8 there is no <cr> in the output. With 1.9.11 I see <cr> <lf>. I ran sudo -l <command> | od -a Is this a bug or did I miss a option in the configure script? I will attach the snippet, the testscript, od output and the logging from sudo. testu01 can run commands ast testu03 and is a member of the testgroup. I also noticed that there is no difference in the output of sudo -l without a command. The sudo log from 1.9 contains a few errors whereas the sudo log from 1.9 does not.
Created attachment 570 [details] od output from v1.8
Created attachment 571 [details] od output from 1.9
Created attachment 572 [details] sudolog output during sudo -l om 1.8
Created attachment 573 [details] sudolig output during sudo -l on 1.9
(In reply to ap.wieringa from comment #0) > Created attachment 569 [details] > snippet > > I compiled both versions of sudo on AIX 7.1 with the ibm c compiler. > > When I do a sudo -l <command> on 1.8 there is no <cr> in the output. > With 1.9.11 I see <cr> <lf>. > > I ran sudo -l <command> | od -a > > Is this a bug or did I miss a option in the configure script? > > I will attach the snippet, the testscript, od output and the logging > from sudo. testu01 can run commands ast testu03 and is a member of > the testgroup. > I also noticed that there is no difference in the output of sudo -l > without a command. The sudo log from 1.9 contains a few errors > whereas the sudo log from 1.9 does not. last should be 1.8. Sorry for the typo's
This is fixed by https://www.sudo.ws/repos/sudo/rev/14f5bf04245f
Fixed in sudo 1.9.12, available now.
That was quick! Thank you