From bc3c868cb5082b5c115f1ab7b7c2184c7eb009e3 Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Sat, 10 Aug 2024 06:14:59 +0200 Subject: [PATCH] Added more comments to header. --- checkpw.c | 4 +++- checkpw_interactive.c | 11 +++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/checkpw.c b/checkpw.c index 08aed08..36b9164 100644 --- a/checkpw.c +++ b/checkpw.c @@ -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. * * Usage: checkpw -u $USER -p $PASSWORD * * Returns 0 on success, 1 otherwise. + * + * License: MIT (see LICENSE) */ #include diff --git a/checkpw_interactive.c b/checkpw_interactive.c index ea5eee1..b42155b 100644 --- a/checkpw_interactive.c +++ b/checkpw_interactive.c @@ -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 #include #include