Headline fix in README.md.
This commit is contained in:
parent
17d04029c5
commit
3deaead2a3
1 changed files with 7 additions and 7 deletions
14
README.md
14
README.md
|
|
@ -8,7 +8,7 @@ I needed a program to verify passwords of users on Linux based systems using PAM
|
||||||
|
|
||||||
Exactly a program like this... not more!
|
Exactly a program like this... not more!
|
||||||
|
|
||||||
# Installation:
|
## Installation:
|
||||||
|
|
||||||
**WARNING:** Install this software with care. checkpw could easily be used for bruteforcing passwords from local users!
|
**WARNING:** Install this software with care. checkpw could easily be used for bruteforcing passwords from local users!
|
||||||
|
|
||||||
|
|
@ -28,7 +28,7 @@ gcc -Werror -lpam -lpam_misc -DMAX_UID=1000 -DMIN_UID=1000 -o checkpw checkpw.c
|
||||||
sudo cp ./checkpw /usr/bin/
|
sudo cp ./checkpw /usr/bin/
|
||||||
```
|
```
|
||||||
|
|
||||||
# Usage:
|
## Usage:
|
||||||
|
|
||||||
```
|
```
|
||||||
checkpw -h
|
checkpw -h
|
||||||
|
|
@ -44,27 +44,27 @@ Options:
|
||||||
|
|
||||||
Returns 0 on success, 1 otherwise.
|
Returns 0 on success, 1 otherwise.
|
||||||
|
|
||||||
## Examples:
|
### Examples:
|
||||||
|
|
||||||
### Interactive mode:
|
#### Interactive mode:
|
||||||
|
|
||||||
```
|
```
|
||||||
checkpw -i
|
checkpw -i
|
||||||
```
|
```
|
||||||
|
|
||||||
### Interactive mode only asking for a password:
|
#### Interactive mode only asking for a password:
|
||||||
|
|
||||||
```
|
```
|
||||||
checkpw -u hanez -i
|
checkpw -u hanez -i
|
||||||
```
|
```
|
||||||
|
|
||||||
### None interactive mode with username and password provided as parameters:
|
#### None interactive mode with username and password provided as parameters:
|
||||||
|
|
||||||
```
|
```
|
||||||
checkpw -u hanez -p password
|
checkpw -u hanez -p password
|
||||||
```
|
```
|
||||||
|
|
||||||
### Request the result from the above commands:
|
#### Request the result from the above commands:
|
||||||
|
|
||||||
```
|
```
|
||||||
echo $?
|
echo $?
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue