Skip to content

screen unlocking broken by recent pam changes (in most lockers) #157112

@peterhoeg

Description

@peterhoeg

Describe the bug

Unlocking plasma wayland sessions fails:

unix_chkpwd[10350]: check pass; user unknown
unix_chkpwd[10351]: check pass; user unknown
unix_chkpwd[10351]: password check failed for user (peter)
kcheckpass[10349]: pam_unix(kde:auth): authentication failure; logname= uid=1000 euid=1000 tty= ruser= rhost=  user=peter

Logging in with the same password works perfectly fine.

Steps To Reproduce

  1. run latest unstable
  2. start KDE wayland session
  3. login
  4. lock screen
  5. try to unlock with the correct password

Expected behavior

Unlocking works as normal.

Additional context

Looks like 0715ef5 is to blame.

Notify maintainers

@NixOS/qt-kde and @winterqt

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.16.2, NixOS, 22.05 (Quokka)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.5.1`
 - channels(peter): `"home-manager"`
 - nixpkgs: `/home/peter/src/active/nixpkgs_unstable`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions