Some content update and fixes...
This commit is contained in:
parent
71555fc275
commit
92fdb05161
2 changed files with 14 additions and 3 deletions
|
|
@ -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
|
# 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)
|
* [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)
|
* [Request the result from the above commands](#request-the-result-from-the-above-commands)
|
||||||
* [Custom build](#custom-build)
|
* [Custom build](#custom-build)
|
||||||
|
* [chkpwr](#chkpwr)
|
||||||
* [Links](#links)
|
* [Links](#links)
|
||||||
* [License](#license)
|
* [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
|
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
|
## Links
|
||||||
|
|
||||||
- [https://git.xw3.org/hanez/chkusr](https://git.xw3.org/hanez/chkusr)
|
- [https://git.xw3.org/hanez/chkusr](https://git.xw3.org/hanez/chkusr)
|
||||||
|
|
|
||||||
10
config.h
10
config.h
|
|
@ -1,4 +1,10 @@
|
||||||
#define VERSION "1.5.0"
|
/*
|
||||||
|
* Author: Johannes Findeisen <you@hanez.org> - 2025
|
||||||
|
* Homepage: https://git.xw3.org/hanez/chkusr
|
||||||
|
* License: Apache-2.0 (see LICENSE)
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define VERSION "1.5.1"
|
||||||
|
|
||||||
/* For chkgrp */
|
/* For chkgrp */
|
||||||
#ifndef MAX_LINE
|
#ifndef MAX_LINE
|
||||||
|
|
@ -10,7 +16,7 @@
|
||||||
#define MAX_NAME 256
|
#define MAX_NAME 256
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* For chkpwd */
|
/* For chkpwd; Also uses MAX_NAME from chkgrp above */
|
||||||
#ifndef MAX_PASSWORD
|
#ifndef MAX_PASSWORD
|
||||||
#define MAX_PASSWORD 256
|
#define MAX_PASSWORD 256
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue