This change introduces new type of failure. sudo.ws allows escaping '=' (in fact, the manual indicates that you must), but now with this patch, if you use the old escaped syntax, sudo-rs will throw an error for "illegal escape sequence".
on Jammy $ cat test << EOF Cmd_Alias FOO_CMD = /bin/foo --bar=1 Cmd_Alias BAR_CMD = /bin/foo --bar\=1 EOF $ visudo -c -f test Warning: test:2:11: unused Cmnd_Alias "BAR_CMD" Warning: test:1:11: unused Cmnd_Alias "FOO_CMD" test: parsed OK -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2123859 Title: sudo-rs does not accept a '=' in command definition To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rust-sudo-rs/+bug/2123859/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
