Skip to content

Auth: PAM messages never reach the greeter #120

Description

@kavau

Currently PAM_ERROR_MSG and PAM_TEXT_INFO are logged but not surfaced to the user. Any failure mode (expired password, faillock, ...) are just shown as "authentication failed". Side note: PAM_TEXT_INFO can also carry a message on successful authentication, e.g. "your password will expire in 3 days".

Fix: return the PAM message in the existing "fail:" response to the greeter. A message on success needs special handling in the greeter (e.g. a dismissable popup or a delay).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:sessionSession lifecycle, VT, PAM, compositor launchenhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions