sudo-rs
sudo-rs copied to clipboard
A memory safe implementation of sudo and su.
I'm just paraphrasing @rnijveld here so we don't forget about this: Several parts of sudo, like PAM or the `use_pty` code, need to do some clean-up before exiting. But the...
e.g. `sudo ./a.out` will say "command not found" even if it exists
**Manifesto. Rage against setuid binaries** I propose novel way to make sudo more secure: make it system daemon and not setuid program! Now let me describe my idea in detail....
https://github.com/memorysafety/sudo-rs/blob/55e09d74d43a1bb185893cb4a3f9e483e0a2d052/lib/sudo-pam/src/rpassword.rs#L81 That's an unlikely situation but there is no actions taken if the password is longer than PAM_MAX_RESP_SIZE (512) bytes.
**Describe the bug** Frequently the `sudo` process is left running at 100% on one cpu core, after the terminal is already closed. When i hear the cpu fans i know...
I've seen in #129 that creation of this functionality is in Doubtful section, but asking for its implementation due to [this issue](https://github.com/veracrypt/VeraCrypt/issues/1331).
**Describe the bug** Whenever I try to use the `--login` option I instantly get an AuthError. No password prompt is shown. This is on Arch Linux on Windows Subsystem for...
I'd like to offer my services as a French speaker to the project. I would be willing to help translate messages in French, if needed. This would just open up...
I get this complaint from `sudo-rs` and not `sudo`: ``` /etc/sudoers.d/lx-srv-admins:1:14: stray escape sequence %MYCOMPANY.COM\\lx-srv-admins ALL=(ALL) NOPASSWD: ALL ``` I didn't write that file but based on [other comments on...