chkusr is a set of programs to verify information about a user on PAM/UNIX based systems.
  • C 77.7%
  • Lua 14.3%
  • Makefile 5.3%
  • Roff 2.7%
Find a file
2024-08-10 14:53:25 +02:00
.gitignore Initial commit. 2024-08-10 06:08:41 +02:00
checkpw.c Added stderr messages back to normal mode. 2024-08-10 14:53:25 +02:00
checkpw_interactive.c typo fix. 2024-08-10 07:20:56 +02:00
LICENSE Initial commit 2024-08-10 06:03:34 +02:00
README.md README update. 2024-08-10 07:21:52 +02:00

checkpw

checkpw is a program that checks the validity of a users password on a Linux/PAM-based system.

Returns 0 on success, 1 otherwise.

Installation:

git clone https://git.xw3.org/hanez/checkpw.git
cd checkpw
gcc -lpam -lpam_misc -Werror -o checkpw checkpw.c

Usage:

./checkpw -u $USERNAME -p $PASSWORD
echo $?