sudo-rs
sudo-rs copied to clipboard
Session handling
Right now we have no way to run code after running a command, and no way to keep state between the pre-run and post-run parts of the code, but we need this infrastructure especially for PAM sessions.
@rnijveld do you mean something like a closure to pass before and after executing a command? what kind of info should be available in pre-run and post-run?
I think this was solved in #248