Bug 459810

Summary: can't unlock after giving the good password
Product: [Unmaintained] kscreenlocker Reporter: thomas_toulouse
Component: kcheckpassAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: bshah, nate, thomas_toulouse
Priority: NOR    
Version First Reported In: 5.25.5   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description thomas_toulouse 2022-09-29 01:16:43 UTC
after I got this error (sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set ) for my user account.  To resolved it I executed this (chown root:root /usr/bin/sudo && chmod 4755 /usr/bin/sudo). But now when I am using the lockscreen my password is not working.  

***
/usr/lib/kscreenlocker_greet --testing:
file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/lockscreen/LockScreenUi.qml:599: TypeError: Cannot read property 'longName' of undefined
file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/UserList.qml:43:9: Unable to assign [undefined] to bool
qt.virtualkeyboard.hunspell: Hunspell dictionary is missing for "en_US" . Search paths ("/usr/share/qt/qtvirtualkeyboard/hunspell", "/usr/share/hunspell", "/usr/share/myspell/dicts")

journalctl | grep kcheckpass :
Jun 08 08:22:55 Legion kcheckpass[2137]: pam_systemd_home(kde:auth): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
Jun 08 08:22:55 Legion kcheckpass[2137]: pam_unix(kde:auth): authentication failure; logname= uid=1000 euid=1000 tty=:0 ruser= rhost=  user=thomas
Jun 08 08:22:55 Legion kcheckpass[2137]: Authentication failure for thomas (invoked by uid 1000)
Jun 08 08:23:00 Legion dbus-daemon[582]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.92' (uid=1000 pid=2141 comm="kcheckpass -m classic -S 25")
***


STEPS TO REPRODUCE
1. get error :sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set 
2. execute  this command with root account chown root:root /usr/bin/sudo && chmod 4755 /usr/bin/sudo
3. try to use lockscreen

OBSERVED RESULT
lockscreen does not unlock

EXPECTED RESULT
lockscreen unlock

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.25.5
(available in About System)
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6

ADDITIONAL INFORMATION
Also using X11 or wayland does nothing.
Comment 1 Nate Graham 2022-10-09 21:36:40 UTC
If you got this error to begin with, I suspect you have a system that is set up unusually. Can you provide some details about your distro, installation procedure, PAM setup, any manual configuration changes, etc? Anything that might be relevant.
Comment 2 Bug Janitor Service 2022-10-24 05:00:17 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2022-11-08 05:11:15 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!