From dbd240f31f61f2947af67ef26d2c0ff4f5777390 Mon Sep 17 00:00:00 2001 From: hanez Date: Thu, 5 Jun 2025 20:23:53 +0200 Subject: [PATCH] Just some small fixes and cosmetics... (1.3.1) --- chkpwd.1 | 11 +++++++---- chkpwd.c | 1 + chkpwd.h | 3 ++- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/chkpwd.1 b/chkpwd.1 index f0af81c..89c70bd 100644 --- a/chkpwd.1 +++ b/chkpwd.1 @@ -1,10 +1,11 @@ -.TH checkpw 1 "June 2025" "chkpwd 1.3.0" "chkpwd man page" +.TH checkpw 1 "June 2025" "chkpwd 1.3.1" "chkpwd man page" .SH NAME chkpwd \- checks the validity of a users password on a UNIX/PAM-based system. .SH SYNOPSIS chkpwd [OPTION]... .SH DESCRIPTION -chkpwd is a program that checks the validity of a users password on a UNIX/PAM-based system. +chkpwd is a program that checks the validity of a users password on a +UNIX/PAM-based system. .SH OPTIONS The options which apply to the chkpwd command are: @@ -14,11 +15,13 @@ The options which apply to the chkpwd command are: -V Print program version. -h Show this help. -chkpwd runs in an interactive mode when no username and/or password are set. A missing username and/or password will then be asked for program execution. +chkpwd runs in an interactive mode when no username and/or password are set. +A missing username and/or password will then be asked for while program +execution. .SH SEE ALSO pam(3), pam_authenticate(3), PAM(8), pam_unix(8) .SH BUGS No known bugs. .SH AUTHOR -Johannes Findeisen (you@hanez.org) +Written by Johannes Findeisen . diff --git a/chkpwd.c b/chkpwd.c index 7339620..69fbc46 100644 --- a/chkpwd.c +++ b/chkpwd.c @@ -3,6 +3,7 @@ * UNIX/PAM-based system. * * Author: Johannes Findeisen - 2024 + * Homepage: https://git.xw3.org/hanez/chkpwd * License: Apache-2.0 (see LICENSE) */ diff --git a/chkpwd.h b/chkpwd.h index ef1e97b..d2ff23f 100644 --- a/chkpwd.h +++ b/chkpwd.h @@ -3,6 +3,7 @@ * password on a UNIX/PAM-based system. * * Author: Johannes Findeisen - 2025 + * Homepage: https://git.xw3.org/hanez/chkpwd * License: Apache-2.0 (see LICENSE) */ @@ -11,7 +12,7 @@ #include #include -#define VERSION "1.3.0" +#define VERSION "1.3.1" bool checkpw_authenticate(const char *username, const char *password, bool verbose);