trifectatechfoundation / sudo-rs

A memory safe implementation of sudo and su.
Other
2.88k stars 77 forks source link

`sudo -k -s` is miscategorized as a 'reset' action #788

Closed japaric closed 10 months ago

japaric commented 11 months ago

relevant test

https://github.com/memorysafety/sudo-rs/blob/b340a3b1fde8125363067b22a2936e5a7814abef/test-framework/sudo-compliance-tests/src/sudo/cli.rs#L156-L172

this is actually a 'run' action. sudo -k -i is also mis-categorized as a 'reset' action; that one is also a 'run' action.