https://bugs.kde.org/show_bug.cgi?id=523936

            Bug ID: 523936
           Summary: Systemd-homed users entering wrong password makes Pla
    Classification: Plasma
           Product: plasma-login-manager
      Version First 6.7.4
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
  Target Milestone: ---

Created attachment 194921
  --> https://bugs.kde.org/attachment.cgi?id=194921&action=edit
journalctl log filtered by systemd-homed, systemd-homework, plasmalogin and pam

DESCRIPTION:
I don't know if this is a bug or a feature (it smells like a feature
implemented in an unexpected way), but when logging in as a systemd-homed
managed user with an incorrect passowrd the plasma login manager keeps retrying
passwords more 4 times on a 3 second interval without letting me correct the
password. This happens without user interaction and it causes frustration
because I must wait for all retries to be exceeded to try to login again and
all additional attempts are reported as bad attempts on homectl inspect even
when I only enter the password wrong one time.

STEPS TO REPRODUCE
1. Create or use an existing systemd-homed managed user 
2. Try to login to the user with an incorrect password and watch it happen

OBSERVED RESULT
Plasma Login Manager displays "Login Failed" five times. The first failure
corresponds to my incorrect password entry, but the following five failures
occur automatically, approximately every 3 seconds, without any further user
interaction.
homectl inspect also records five failed authentication attempts even though
only a single incorrect password was entered.

EXPECTED RESULT
Plasma Login Manager shows a "Login Failed" one time (like happens to local
user accounts) and in homectl inspect register one bad attempt

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.7.4
KDE Frameworks Version: 6.28.0
Qt Version: 6.11.1
Kernel Version: 7.1.5-arch1-2 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7435HS
Memory: 16 GiB of RAM (15.4 GiB usable)
Graphics Processor: NVIDIA GeForce RTX 3050 Laptop GPU

ADDITIONAL INFORMATION
I think this also happened when Plasma Login Manager launched
I provided a journalctl log filtered by systemd-homed, systemd-homework,
plasmalogin and pam
Steps done are:
1. System started, tried to login with wrong password
2. Login with correct password
3. Logout
4. Try to login again with wrong password
5. Login with correct password
6. Lock user
7. Try to unlock user with wrong password (here it worked as a local user
account would, only showing "Incorrect Password" one time but in homectl it
registered 2 bad attempts)
8. Unlock user with correct password
I have checked https://github.com/swaywm/swaylock/pull/447 and this might be
relevant to solve the problem

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to