I’ve switched back to sudo. This is what happens every time I use a sudo-rs:
/etc/sudoers:11:17: unknown setting: 'mailto'
Defaults mailto="f*******@*******.com,f*******@*******.com"
^~~~~~
[sudo: authenticate] Password:
And I saw this note in the readme of the sudo-rs github project:
* sudo-rs will not include the sendmail support of original sudo.
I understand that the new sudo-rs will never inform to admin email when an user try to use it and fails. To me it’s a step back in security (I know I can check logs and that but this is really handy).
BTW, the ******* are written by me. The sudo-rs discloses the admins emails in sudoers file to any user that try sudo. Really clever!