Added more comments to header.

This commit is contained in:
Johannes Findeisen 2024-08-10 06:14:59 +02:00
commit bc3c868cb5
2 changed files with 14 additions and 1 deletions

View file

@ -1,10 +1,12 @@
/* /*
* checkpw is a program to check the validity of a user password on a * checkpw is a program to check the validity of a users password on a
* Linux/PAM-based system. * Linux/PAM-based system.
* *
* Usage: checkpw -u $USER -p $PASSWORD * Usage: checkpw -u $USER -p $PASSWORD
* *
* Returns 0 on success, 1 otherwise. * Returns 0 on success, 1 otherwise.
*
* License: MIT (see LICENSE)
*/ */
#include <security/pam_appl.h> #include <security/pam_appl.h>

View file

@ -1,3 +1,14 @@
/*
* checkpw is a program to check the validity of a users password on a
* Linux/PAM-based system.
*
* Usage: checkpw
*
* Returns 0 on success, 1 otherwise.
*
* License: MIT (see LICENSE)
*/
#include <security/pam_appl.h> #include <security/pam_appl.h>
#include <security/pam_misc.h> #include <security/pam_misc.h>
#include <stdio.h> #include <stdio.h>