-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding insults #823
Comments
Some examples for users interested in this issue: https://askubuntu.com/questions/837558/where-are-sudos-insults-stored |
I've asked ChatGPT (which I'm not a fan of otherwise) to come up with some insults.
I think these are all funnier than the original ones, so I'm already not convinced of having those in sudo-rs. Secondary, However! I started thinking: why just sudo? Why shouldn't users also be insulted when they mistype their password in say, Let's make a |
Not gonna lie, that would be even funnier, I think :D |
Hacked together this idea using $ sudo ls
[sudo: authenticate] Password:
[sudo] Did you forget your password or just your brain? Note that this even looks like it's sudo-rs that's doing the insulting. ;) And also:
Of course this behaviour can be restricted to just |
According to the |
I think the PAM module prototype (it's on GitHub if you know where to look) shows that we can achieve the same functionality without modifying the source code, which I'm sure most people will agree is better than adding it inside the setuid code base. But given the enthusiastic response this issue got, we should probably address this issue in documentation (such as a FAQ), or squelch the parse error if |
Describe the feature you'd like see implemented in
sudo-rs
In general
sudo
, you can putDefaults insults
to get insulted, if you mistyped your password but this doesn't seem to be existing insudo-rs
.What problem can be solved with this feature?
Less laughs.
Describe alternatives you've considered
Using
sudo
instead ofsudo-rs
.Additional context
The text was updated successfully, but these errors were encountered: