github JackTulli/Linux-explorer v1.42.7
1.42.7: the logon screen's PAM stack, found where the distribution keeps it

3 hours ago

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 ships base-auth, base-account, base-password and base-session in /usr/lib/pam.d: the vendor directory that Linux-PAM 1.5 and later read when /etc/pam.d has nothing to say. An include that resolves to nothing refuses every password there is.

    Both directories are looked in now, system-login has a test of its own, and a machine with no stack to include at all gets a new standalone one built on pam_unix and pam_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

Don't miss a new Linux-explorer release

NewReleases is sending notifications on new releases.