chkusr/README.md

36 lines
648 B
Markdown
Raw Normal View History

2024-08-17 22:00:58 +02:00
# checkpw - 1.0.1!
2024-08-10 06:03:34 +02:00
2024-08-10 07:20:56 +02:00
checkpw is a program that checks the validity of a users password on a Linux/PAM-based system.
2024-08-10 06:08:41 +02:00
2024-08-10 23:38:07 +02:00
## The idea behind:
2024-08-10 23:38:54 +02:00
Exactly a program like this... not more!
2024-08-10 23:38:07 +02:00
# Installation:
```
git clone https://git.xw3.org/hanez/checkpw.git
cd checkpw
make
sudo make install
```
2024-08-10 15:55:11 +02:00
# Usage:
```
./checkpw [-u <username>] [-p <password>] [-i] [-v] [-h]
2024-08-10 15:52:47 +02:00
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
```
2024-08-10 07:21:52 +02:00
Returns 0 on success, 1 otherwise.
2024-08-10 15:54:14 +02:00
```
echo $?
```
2024-08-10 22:12:47 +02:00