Added man page to Makefile and README fixes.

This commit is contained in:
Johannes Findeisen 2025-01-01 08:54:26 +01:00
commit 84d481aa6f
2 changed files with 4 additions and 1 deletions

View file

@ -6,9 +6,12 @@ clean:
install:
cp ./checkpw /usr/bin/
cp ./checkpw.1 /usr/share/man/man1/
gzip /usr/share/man/man1/checkpw.1
cp ./checkpw.h /usr/include/
uninstall:
rm -f /usr/bin/checkpw
rm -f /usr/share/man/man1/checkpw.1.gz
rm -f /usr/include/checkpw.h

View file

@ -2,7 +2,7 @@
checkpw is a program that checks the validity of a users password on a UNIX/[PAM](https://en.wikipedia.org/wiki/Pluggable_Authentication_Module)-based system.
Currently only tested on Linux, but it should work on the [AIX](https://en.wikipedia.org/wiki/IBM_AIX), [DragonFly BSD](https://www.dragonflybsd.org/), [FreeBSD](https://www.freebsd.org/), [HP-UX](https://en.wikipedia.org/wiki/HP-UX), [Linux](https://kernel.org/), [macOS](https://en.wikipedia.org/wiki/MacOS), [NetBSD](https://netbsd.org/) and [Solaris](https://en.wikipedia.org/wiki/Oracle_Solaris) operating system too.
Currently checkpw is only tested on Linux, but it should work on a [AIX](https://en.wikipedia.org/wiki/IBM_AIX), [DragonFly BSD](https://www.dragonflybsd.org/), [FreeBSD](https://www.freebsd.org/), [HP-UX](https://en.wikipedia.org/wiki/HP-UX), [Linux](https://kernel.org/), [macOS](https://en.wikipedia.org/wiki/MacOS), [NetBSD](https://netbsd.org/) and [Solaris](https://en.wikipedia.org/wiki/Oracle_Solaris) operating system too.
## The idea