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

            Bug ID: 410192
           Summary: At logout warn if no valid shell installed; At login
                    show adequate error
           Product: plasmashell
           Version: 5.16.3
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: 1.0

SUMMARY

If a user logs out in case there's no valid shell set for the user in
/etc/passwd, it won't be possible to login for the user again, but instead it
SDDM says "invalid password".

BACKGROUND STORY

With pacman I installed zsh besides bash and sh. I then suspended the system to
disk. After wake up, I was logged in again automatically, though all before
opened terminals/shells had been closed and zsh had been set as default. After
checking all configuration which came to my mind to revert to bash, I decided
to uninstall zsh via pacman.
Finally I rebooted the system. At the login prompt SDDM told me my password
were wrong.

Fortunately I could login as root with the very same password and change the
shell from "/bin/zsh" to "/bin/bash" in "/etc/passwd".

QUESTION

I am not sure if I have to report this to Manjaro or pacman or SDDM upstream
(instead)?


STEPS TO REPRODUCE
1. Change your user's shell in /etc/passwd to something invalid
2. Logout 
3. Try to log in again

OBSERVED RESULT

At logout or restart there's no warning.
At login it says misleadingly "invalid password".


EXPECTED RESULT

At logout warn that's there's no valid shell for the user and a login
afterwards may become impossible.
At login tell the user that there's no valid shell defined in /etc/passwd
instead.


SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 5.16.3
KDE Frameworks Version: 5.61.0
Qt Version: 5.13.0
Kernel Version: 5.2.1-1-MANJARO
OS Type: 64-bit

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

Reply via email to