[Bug 248053] x11/swaylock: Able to unlock screen with any password

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jul 17 20:18:44 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248053

            Bug ID: 248053
           Summary: x11/swaylock: Able to unlock screen with any password
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: jbeich at FreeBSD.org
          Reporter: ashish at FreeBSD.org
             Flags: maintainer-feedback?(jbeich at FreeBSD.org)
          Assignee: jbeich at FreeBSD.org

I have sway-1.5 installed on FreeBSD 12.1 (amd64) host. It's built with
following options:

        MANPAGES       : on
        PIXBUF         : on

When I lock screen with `swaylock -d` started in Alacritty, I expect to type my
user password to unlock, but turns out any password works :/

No changes are made to its PAM configuration:

================================================================================
#
# PAM configuration file for the swaylock screen locker. By default, it
includes
# the 'login' configuration file (see /etc/pam.d/login)
#

auth include login
================================================================================

Contents of /etc/pam.d/login:

================================================================================#
# $FreeBSD: releng/12.1/lib/libpam/pam.d/login 170510 2007-06-10 18:57:20Z yar
$
#
# PAM configuration for the "login" service
#

# auth
auth            sufficient      pam_self.so             no_warn
auth            include         system

# account
account         requisite       pam_securetty.so
account         required        pam_nologin.so
account         include         system

# session
session         include         system

# password
password        include         system
================================================================================

Thanks in advance

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list