Remove FreeBSD-specific PAM configuration
Something in FreeBSD's PAM modules changed, and now using the "passwd" configuration file fails to unlock
This commit is contained in:
parent
a7404e1096
commit
dee002155b
17
meson.build
17
meson.build
@ -152,19 +152,10 @@ executable('swaylock',
|
|||||||
install: true
|
install: true
|
||||||
)
|
)
|
||||||
|
|
||||||
if is_freebsd
|
install_data(
|
||||||
install_data(
|
'pam/swaylock',
|
||||||
'pam/swaylock.freebsd',
|
install_dir: sysconfdir + '/pam.d/'
|
||||||
install_dir: sysconfdir + '/pam.d/',
|
)
|
||||||
rename: 'swaylock'
|
|
||||||
)
|
|
||||||
else
|
|
||||||
install_data(
|
|
||||||
'pam/swaylock.linux',
|
|
||||||
install_dir: sysconfdir + '/pam.d/',
|
|
||||||
rename: 'swaylock'
|
|
||||||
)
|
|
||||||
endif
|
|
||||||
|
|
||||||
if scdoc.found()
|
if scdoc.found()
|
||||||
sh = find_program('sh')
|
sh = find_program('sh')
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
#
|
|
||||||
# PAM configuration file for the swaylock screen locker. By default, it includes
|
|
||||||
# the 'passwd' configuration file (see /etc/pam.d/passwd)
|
|
||||||
#
|
|
||||||
|
|
||||||
auth include passwd
|
|
Loading…
Reference in New Issue
Block a user