https://github.com/squell/pam-insult
Insult users that mistype their password (quick prototype)
https://github.com/squell/pam-insult
Last synced: 10 months ago
JSON representation
Insult users that mistype their password (quick prototype)
- Host: GitHub
- URL: https://github.com/squell/pam-insult
- Owner: squell
- License: isc
- Created: 2024-08-26T17:04:58.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-14T20:33:02.000Z (over 1 year ago)
- Last Synced: 2025-04-12T10:56:23.866Z (about 1 year ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pam-insult
A KISS way to insult users that mistype their passwords. Inspired by sudo.
## Instructions for Debian/Ubuntu
Run:
sudo make install
This will add pam-insult to your system and add to /etc/pam.d/common-auth:
auth [default=ignore] pam_exec.so stdout quiet /usr/lib/pam.d/insults/pam-insult.sh
You can disable/re-enable this PAM module with pam-auth-update, *do not* edit /etc/pam.d/common-auth directly.
## Manual installation
You have to be comfortable editing /etc/pam.d files; this README is too short to give an overview of that.
Note that this module is 'auth' type module, so please be careful to not misconfigure this so that it will lock you
out of your system or just wave everybody through. It should be placed in a spot where all authentication methods have
been tried, but before `pam_deny` (although it can replace `pam_deny`). Its result should be ignored.