README update.

This commit is contained in:
Johannes Findeisen 2024-08-10 15:52:47 +02:00
commit 80552067e0

View file

@ -2,6 +2,17 @@
checkpw is a program that checks the validity of a users password on a Linux/PAM-based system.
```
Usage: ./checkpw [-u <username>] [-p <password>] [-i] [-v] [-h]
Options:
-u <username> Specify username.
-p <password> Specify password.
-i Enable interactive mode to prompt for missing username/password.
-v Enable verbose mode.
-h Show this help
```
Returns 0 on success, 1 otherwise.
# Installation: