From 88cfe343e4fbe4899475d3972024d82706468db4 Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Sat, 10 Aug 2024 15:55:11 +0200 Subject: [PATCH] README update. --- README.md | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 15bd250..2355726 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,18 @@ checkpw is a program that checks the validity of a users password on a Linux/PAM-based system. +# Installation: + ``` -Usage: ./checkpw [-u ] [-p ] [-i] [-v] [-h] +git clone https://git.xw3.org/hanez/checkpw.git +cd checkpw +gcc -lpam -lpam_misc -Werror -o checkpw checkpw.c +``` + +# Usage: + +``` +./checkpw [-u ] [-p ] [-i] [-v] [-h] Options: -u Specify username. @@ -18,12 +28,3 @@ Returns 0 on success, 1 otherwise. ``` echo $? ``` - -# Installation: - -``` -git clone https://git.xw3.org/hanez/checkpw.git -cd checkpw -gcc -lpam -lpam_misc -Werror -o checkpw checkpw.c -``` -