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 06:11:11 +02:00
.gitignore Initial commit. 2024-08-10 06:08:41 +02:00
checkpw.c Initial commit. 2024-08-10 06:08:41 +02:00
checkpw_interactive.c Added an interactive program too. Wann make this a feature using -i in the main program. 2024-08-10 06:11:11 +02:00
LICENSE Initial commit 2024-08-10 06:03:34 +02:00
README.md Initial commit. 2024-08-10 06:08:41 +02:00

checkpw

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

Installation:

gcc -lpam -lpam_misc -o checkpw checkpw.c

Usage:

./checkpw -u $USERNAME -p $PASSWORD

echo $?