Merge nearly ready for 1.4.0.

This commit is contained in:
Johannes Findeisen 2025-06-27 02:56:55 +02:00
commit d92c2d2a76
11 changed files with 28 additions and 16 deletions

View file

@ -1,18 +1,16 @@
/**
* chkpwd.h is part of chkpwd, a program that checks the validity of a users
* password on a UNIX/PAM-based system.
* chkpwd.h is part of chkusr, a set of programs to verify information about
* a user on UNIX based systems.
*
* Author: Johannes Findeisen <you@hanez.org> - 2025
* Homepage: https://git.xw3.org/hanez/chkpwd
* Homepage: https://git.xw3.org/hanez/chkusr
* License: Apache-2.0 (see LICENSE)
*/
#include <pwd.h>
#include <stdbool.h>
#include <security/pam_appl.h>
#include <security/pam_misc.h>
#include <stdbool.h>
#define VERSION "1.3.1"
bool checkpw_authenticate(const char *username, const char *password,
bool verbose);