Pass a command line option to a plugin?
Armin Kunaschik via sudo-users <[email protected]> Wed, 3 Feb 2021 16:21:27 +0100
| Newsgroups | gmane.comp.tools.sudo.user |
|---|---|
| Message-ID | <CALR6jEhe8Gi3chdNmQhYdtPfeVMkhDjVkX=FBVF80UyWgksM7Q@mail.gmail.com> |
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 ____________________________________________________________ sudo-users mailing list <[email protected]> For list information, options, or to unsubscribe, visit: https://www.sudo.ws/mailman/listinfo/sudo-users