sudo-rs icon indicating copy to clipboard operation
sudo-rs copied to clipboard

Add warning when a relative path is part of `secure_path`.

Open squell opened this issue 5 months ago • 0 comments
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)

squell avatar Jun 11 '25 09:06 squell