[sudo-workers] cvtsudoers wrong input

Radovan Sroka rsroka at redhat.com
Fri Aug 23 07:34:24 MDT 2019


 Hi Todd,

"cvtsudoers" silently ends when expected input is LDIF but the actual input
is "sudoers".

cat /etc/sudoers | cvtsudoers -b redhat.com -i LDIF
# echo $?
0

I think it should return 1 and print some error message.

Tested on sudo-1.8.27

What do you think?

-- 
--
---------------------------------------------------------

Radovan Sroka
Software Engineer | Security Technologies | Red Hat, Inc.


More information about the sudo-workers mailing list