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 18:47:15 +02:00
.gitignore Initial commit. 2024-08-10 06:08:41 +02:00
checkpw.c Added basic Makefile, updated README and some code fixes. 2024-08-10 18:47:15 +02:00
LICENSE Initial commit 2024-08-10 06:03:34 +02:00
Makefile Added basic Makefile, updated README and some code fixes. 2024-08-10 18:47:15 +02:00
README.md Added basic Makefile, updated README and some code fixes. 2024-08-10 18:47:15 +02:00

checkpw

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

Installation:

git clone https://git.xw3.org/hanez/checkpw.git
cd checkpw
make
sudo make install

Usage:

./checkpw [-u <username>] [-p <password>] [-i] [-v] [-h]

Options:
  -u <username>  Specify username.
  -p <password>  Specify password.
  -i             Enable interactive mode to prompt for missing username/password.
  -v             Enable verbose mode.
  -h             Show this help

Returns 0 on success, 1 otherwise.

echo $?