Just some small fixes and cosmetics... (1.3.1)
This commit is contained in:
parent
ccfd170bae
commit
dbd240f31f
3 changed files with 10 additions and 5 deletions
11
chkpwd.1
11
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
|
.SH NAME
|
||||||
chkpwd \- checks the validity of a users password on a UNIX/PAM-based system.
|
chkpwd \- checks the validity of a users password on a UNIX/PAM-based system.
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
chkpwd [OPTION]...
|
chkpwd [OPTION]...
|
||||||
.SH DESCRIPTION
|
.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
|
.SH OPTIONS
|
||||||
The options which apply to the chkpwd command are:
|
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.
|
-V Print program version.
|
||||||
-h Show this help.
|
-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
|
.SH SEE ALSO
|
||||||
pam(3), pam_authenticate(3), PAM(8), pam_unix(8)
|
pam(3), pam_authenticate(3), PAM(8), pam_unix(8)
|
||||||
.SH BUGS
|
.SH BUGS
|
||||||
No known bugs.
|
No known bugs.
|
||||||
.SH AUTHOR
|
.SH AUTHOR
|
||||||
Johannes Findeisen (you@hanez.org)
|
Written by Johannes Findeisen <you@hanez.org>.
|
||||||
|
|
|
||||||
1
chkpwd.c
1
chkpwd.c
|
|
@ -3,6 +3,7 @@
|
||||||
* UNIX/PAM-based system.
|
* UNIX/PAM-based system.
|
||||||
*
|
*
|
||||||
* Author: Johannes Findeisen <you@hanez.org> - 2024
|
* Author: Johannes Findeisen <you@hanez.org> - 2024
|
||||||
|
* Homepage: https://git.xw3.org/hanez/chkpwd
|
||||||
* License: Apache-2.0 (see LICENSE)
|
* License: Apache-2.0 (see LICENSE)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
||||||
3
chkpwd.h
3
chkpwd.h
|
|
@ -3,6 +3,7 @@
|
||||||
* password on a UNIX/PAM-based system.
|
* password on a UNIX/PAM-based system.
|
||||||
*
|
*
|
||||||
* Author: Johannes Findeisen <you@hanez.org> - 2025
|
* Author: Johannes Findeisen <you@hanez.org> - 2025
|
||||||
|
* Homepage: https://git.xw3.org/hanez/chkpwd
|
||||||
* License: Apache-2.0 (see LICENSE)
|
* License: Apache-2.0 (see LICENSE)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
@ -11,7 +12,7 @@
|
||||||
#include <security/pam_misc.h>
|
#include <security/pam_misc.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
#define VERSION "1.3.0"
|
#define VERSION "1.3.1"
|
||||||
|
|
||||||
bool checkpw_authenticate(const char *username, const char *password,
|
bool checkpw_authenticate(const char *username, const char *password,
|
||||||
bool verbose);
|
bool verbose);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue