chkusr/README.md

36 lines
629 B
Markdown
Raw Normal View History

2024-08-10 22:12:47 +02:00
# checkpw - 1.0
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:30:51 +02:00
## They idea?
Exactly a program like this...
2024-08-10 15:55:11 +02:00
# Installation:
2024-08-10 15:52:47 +02:00
```
2024-08-10 15:55:11 +02:00
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