trifectatechfoundation / sudo-rs

A memory safe implementation of sudo and su.
Other
2.9k stars 79 forks source link

su: when there's no `/etc/shells` a default list of allowed login shells is used #615

Closed japaric closed 1 year ago

japaric commented 1 year ago

relevant test

https://github.com/memorysafety/sudo-rs/blob/0705c3e360b1c4b612d4dd31342f406b6737f850/test-framework/sudo-compliance-tests/src/su/flag_shell.rs#L214-L222