Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 829685 - gui-apps/swaylock-1.5: pam.c:101 pam_authenticate failed: unknown error (6)
Summary: gui-apps/swaylock-1.5: pam.c:101 pam_authenticate failed: unknown error (6)
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-19 23:06 UTC by Vasile M.
Modified: 2022-12-04 00:11 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
swaylock -d > swaylock-debug.log 2>&1 (swaylock-debug.log,319 bytes, text/plain)
2021-12-19 23:06 UTC, Vasile M.
Details
emerge --info (emerge-info.log,6.12 KB, text/plain)
2021-12-19 23:06 UTC, Vasile M.
Details
emerge --info swaylock (swaylock-info.log,6.50 KB, text/plain)
2021-12-19 23:13 UTC, Vasile M.
Details
emerge --info pam (pam-info.log,6.55 KB, text/plain)
2021-12-19 23:18 UTC, Vasile M.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vasile M. 2021-12-19 23:06:02 UTC
Created attachment 759854 [details]
swaylock -d > swaylock-debug.log 2>&1

Hi everyone,

After looking everywhere, I have no choice but to open a bug here. This is an old known issue that is repeated in many sites but no solution works for me. 

-----
Readed bugs reports:
- https://github.com/swaywm/swaylock/issues/119 -> "You should report this bug to your distro and come back to us if they determine it's our fault."

- https://github.com/swaywm/sway/issues/3631
- https://github.com/swaywm/sway/issues/2773
-----

The file '/etc/pam.d/swaylock' exists, it contains: 'auth include login'.
ACL and Xattr are enabled on the kernel (ext2/3/4 filesystems, but only ext4 matters).
All is okay, but it not works.
Comment 1 Vasile M. 2021-12-19 23:06:48 UTC
Created attachment 759855 [details]
emerge --info
Comment 2 Vasile M. 2021-12-19 23:13:44 UTC
Created attachment 759856 [details]
emerge --info swaylock
Comment 3 Vasile M. 2021-12-19 23:18:51 UTC
Created attachment 759857 [details]
emerge --info pam
Comment 4 Vasile M. 2022-12-04 00:11:50 UTC
I discovered the problem.

The last three years I have not been able to lock the session of my system because of the password length.

The length of my passwords is between 40 and 70 characters. Who the hell dares to question the length of my passwords?

What is the correct length? pass or 123456?