Re:The First Stable Release of a Rust-Rewrite Sudo Implement...
by jrmg on Monday November 06, 2023 @12:40PM
(#38165809)
I’m not sure why people are downvoting you. I suspect they may be clicking the link and thinking ‘that’s not documentation it’s source code’, not realizing it actually _is_ documentation.
The language it’s in is ‘mdoc’ - a markup format for man pages: https://man.freebsd.org/cgi/man.cgi?mdoc
It’s the source code for the man page, which is about as documentationey as you can get.
Re:The First Stable Release of a Rust-Rewrite Sudo Implement...
by sgerenser on Monday November 06, 2023 @01:06PM
(#38166213)
Interesting, the posting I linked to indicated this behavior wasn’t documented. It’s certainly not surprising and as you mentioned, it’s equivalent to openssh requiring specific permissions on private key files.
Re:The First Stable Release of a Rust-Rewrite Sudo Implement...
by slikrick on Wednesday November 08, 2023 @08:19AM
(#38189925)
I might be too harsh, but it is not so trustworthy that they found bugs within the original sudo after less than a year of effort. those other devs had over 40 years to find it
https://www.sudo.ws/repos/sudo/file/SUDO_1_8_6/doc/sudoers.m...
This is also a very common behaviour for security sensitive applications to check config file permissions. Another example I remember are ssh private keys.
I might be to harsh but it is not so trustworthy they still made this error and still miss the documentation.