From 92fdb05161c4070d167afc808289d7e6506dd054 Mon Sep 17 00:00:00 2001 From: hanez Date: Mon, 8 Sep 2025 02:55:20 +0200 Subject: [PATCH] Some content update and fixes... --- README.md | 7 ++++++- config.h | 10 ++++++++-- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 97bccef..68f05a9 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# MERGED PROJECT!!! I WILL UPDATE THIS README IN THE NEXT DAYS!!! THE FOLLOWING DOCUMENTATION WILL NOT WORK ACTUALLY! +# THE FOLLOWING DOCUMENTATION WILL NOT WORK ACTUALLY! YOU NEED TO READ THE CODE ACTUALLY, SORRY... # chkusr @@ -19,6 +19,7 @@ chkusr is a set of programs to verify information about a user on UNIX based sys * [None interactive mode with username and password provided as arguments to chkpwd](#none-interactive-mode-with-username-and-password-provided-as-arguments-to-chkpwd) * [Request the result from the above commands](#request-the-result-from-the-above-commands) * [Custom build](#custom-build) + * [chkpwr](#chkpwr) * [Links](#links) * [License](#license) @@ -128,6 +129,10 @@ Set MAX_UID and MIN_UID at compile time: gcc -Wall -DMAX_UID=1000 -DMIN_UID=1000 -o chkpwd chkpwd.c -lpam -lpam_misc ``` +## chkpwr + +A program to validate a string with a password rule. More to come... + ## Links - [https://git.xw3.org/hanez/chkusr](https://git.xw3.org/hanez/chkusr) diff --git a/config.h b/config.h index 5c7db49..be0bc9a 100644 --- a/config.h +++ b/config.h @@ -1,4 +1,10 @@ -#define VERSION "1.5.0" +/* + * Author: Johannes Findeisen - 2025 + * Homepage: https://git.xw3.org/hanez/chkusr + * License: Apache-2.0 (see LICENSE) + */ + +#define VERSION "1.5.1" /* For chkgrp */ #ifndef MAX_LINE @@ -10,7 +16,7 @@ #define MAX_NAME 256 #endif -/* For chkpwd */ +/* For chkpwd; Also uses MAX_NAME from chkgrp above */ #ifndef MAX_PASSWORD #define MAX_PASSWORD 256 #endif