[sudo-users] Pass a command line option to a plugin?

Armin Kunaschik megabreit at googlemail.com
Wed Feb 3 08:21:27 MST 2021


Hi there,

I'm quite excited about the python plugin api. I'd like to add a ticket
number to an allowed sudo execution. But how can I pass the ticket number
to the plugin? Best way would be to have a commandline option like --ticket
which is not parsed by sudo but passed to the plugin. Are there other,
better ways to achieve that? Any suggestions?

Regards,
Armin


More information about the sudo-users mailing list