From: Samuel Mendoza-Jonas Date: Tue, 19 Jun 2018 06:33:42 +0000 (+1000) Subject: lib/crypt: Add helpers for operating on /etc/shadow X-Git-Tag: v1.10.0~12 X-Git-Url: https://git.ozlabs.org/?a=commitdiff_plain;h=5d7f93f2ee09de515e1e474fd752d52590b51793;hp=5d7f93f2ee09de515e1e474fd752d52590b51793;p=petitboot 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 ---