sudo-rs
sudo-rs copied to clipboard
Add warning when a relative path is part of `secure_path`.
trafficstars
E.g. suppose /etc/sudoers contains:
Defaults secure_path="/bin:./", emit a soft diagnostic that . is ignored.
We might also do this if secure_path is disabled and a PATH is loaded that contains a relative path (although that requirement wouldn't be 100% necessary to close this issue)