Content...
This commit is contained in:
parent
164f6a2174
commit
af8b04ec5d
1 changed files with 35 additions and 0 deletions
35
README.md
35
README.md
|
|
@ -2,6 +2,24 @@
|
||||||
|
|
||||||
checkpw is a program that checks the validity of a users password on a Linux/PAM-based system.
|
checkpw is a program that checks the validity of a users password on a Linux/PAM-based system.
|
||||||
|
|
||||||
|
## The idea behind:
|
||||||
|
|
||||||
|
Exactly a program like this...
|
||||||
|
|
||||||
|
# Installation:
|
||||||
|
|
||||||
|
```
|
||||||
|
git clone https://git.xw3.org/hanez/checkpw.git
|
||||||
|
cd checkpw
|
||||||
|
make
|
||||||
|
sudo make install
|
||||||
|
```
|
||||||
|
|
||||||
|
# Usage:
|
||||||
|
# checkpw - 1.0
|
||||||
|
|
||||||
|
checkpw is a program that checks the validity of a users password on a Linux/PAM-based system.
|
||||||
|
|
||||||
## They idea?
|
## They idea?
|
||||||
|
|
||||||
Exactly a program like this...
|
Exactly a program like this...
|
||||||
|
|
@ -34,3 +52,20 @@ Returns 0 on success, 1 otherwise.
|
||||||
echo $?
|
echo $?
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```
|
||||||
|
./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.
|
||||||
|
|
||||||
|
```
|
||||||
|
echo $?
|
||||||
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue