Compare commits

..

2 Commits

Author SHA1 Message Date
e9fe061b2c
etc/sudoers.d: add insults 2023-12-15 13:04:08 +02:00
7d6e9c0948
pre-commit autoupdate 2023-12-15 12:56:01 +02:00
2 changed files with 15 additions and 1 deletions

View File

@ -122,7 +122,7 @@ repos:
# prettier, opinionated code formatter
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v4.0.0-alpha.4"
rev: "v4.0.0-alpha.5"
hooks:
- id: prettier
# These are handled by Black below or pretty-format-json above

14
etc/sudoers.d/insults Normal file
View File

@ -0,0 +1,14 @@
# Insults for wrong password. Fedora doesn't seem to come with the insults
# database, while this works on Debian.
# Enable insults for all users
Defaults insults
# Disable insults for all users
#Defaults !insults
# Enable insults for user aminda
#Defaults:aminda insults
# Disable insults for user aminda
#Defaults:aminda !insults