mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-05 07:03:51 -09:00
when pam_lastlog.so is not installed login issues an error that it is not able to load it. Hence only enable the entry when pam_lastlog.so is installed. Fixes: login[649]: PAM unable to dlopen(/lib/security/pam_lastlog.so): /lib/security/pam_lastlog.so: cannot open shared object file: No such file or directory login[649]: PAM adding faulty module: /lib/security/pam_lastlog.so Signed-off-by: Michael Nosthoff <buildroot@heine.tech> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>