Public bug reported: ---Problem Description--- Even when Public Key Authentication is configured and functioning correctly, non-root users are being forced to reset their passwords once the maximum password age (PASS_MAX_DAYS) is exceeded. This behavior contradicts the expected functionality, where password expiry should not impact users relying solely on key-based authentication.
---Steps to Reproduce--- 1. Create a Ubuntu 22.04 s390x zvsi. 2. Create a non root user. 3. Add the public key to the user home directory. 4. After the specified PASS_MAX_DAYS in /etc/login.defs try to login as the user. 5. The user is promted to enter the current password the reset the password. ---Note--- We are changing the PASS_MAX_DAYS to 90 days in the image for the best practices. We are enabling the PubkeyAuthentication We are disabling the PasswordAuthentication Contact Information = Dineshkanna / [email protected] ** Affects: linux (Ubuntu) Importance: Undecided Assignee: Skipper Bug Screeners (skipper-screen-team) Status: New ** Tags: architecture-s39064 bugnameltc-215776 severity-medium targetmilestone-inin--- ** Tags added: architecture-s39064 bugnameltc-215776 severity-medium targetmilestone-inin--- ** Changed in: ubuntu Assignee: (unassigned) => Skipper Bug Screeners (skipper-screen-team) ** Package changed: ubuntu => linux (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2162945 Title: [UBUNTU 22.04] Non-root users are prompted to reset their password after PASS_MAX_DAYS expiry, despite having Public Key Authentication enabled. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2162945/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
