lib/crypt: Add helpers for operating on /etc/shadow
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>
Tue, 19 Jun 2018 06:33:42 +0000 (16:33 +1000)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Mon, 3 Dec 2018 03:39:57 +0000 (14:39 +1100)
commit5d7f93f2ee09de515e1e474fd752d52590b51793
treee125ada614a82edd27269b873d77a66d99420da0
parentcfd6bf4f7da1ee71a65f57f28912d43ab757b968
lib/crypt: Add helpers for operating on /etc/shadow

Provides helper functions for reading, writing, and checking against
/etc/shadow. The main use case if for authenticating clients against the
"system" password, which is set as the root password.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
configure.ac
lib/Makefile.am
lib/crypt/crypt.c [new file with mode: 0644]
lib/crypt/crypt.h [new file with mode: 0644]