Fixed
-
"The system cannot log you on", with the right password (Alpine). The logon screen asks PAM, and the stack installed for it included
system-login-- a file Alpine does not have. It was chosen because the test for Alpine's own stack looked in/etc/pam.d, and Alpine shipsbase-auth,base-account,base-passwordandbase-sessionin/usr/lib/pam.d: the vendor directory that Linux-PAM 1.5 and later read when/etc/pam.dhas nothing to say. Anincludethat resolves to nothing refuses every password there is.Both directories are looked in now,
system-loginhas a test of its own, and a machine with no stack to include at all gets a new standalone one built onpam_unixandpam_nologin, which come with Linux-PAM itself. The installer prints which stack it chose, so this is visible next time.
On a machine already in that state, the one-liner puts it right; or, in one line:
doas sh -c 'cp /usr/local/src/Linux-explorer/config/l2kdm.pam.alpine /etc/pam.d/l2kdm && rc-service l2kdm restart'
curl -fsSL https://jacktulli.github.io/w2k | sh