Commit Graph

7 Commits

Author SHA1 Message Date
Drew DeVault
64259db8d6 Add support for building swaylock without PAM
This involves setuid'ing swaylock, which then forks and drops perms on
the parent process. The child process remains root and listens on a pipe
for requests to validate passwords against /etc/shadow.
2018-09-28 13:53:01 +02:00
sghctoma
2376a9c5d7 Add FreeBSD-specific PAM configuration
The "login" PAM configuration means somathing entirely different on
FreeBSD than on Linux: if you try to authenticate as the calling user,
it OKs the request without prompting for password. The "passwd" config
implements the desired functionality, therefore it should be used by
swaylock.
2018-08-30 09:58:57 +02:00
Bruno Pinto
780b15be32 [swaylock] Install pam module 2018-04-20 01:29:47 +01:00
Drew DeVault
3f21cd441b Add password buffer, refactor rendering/surfaces 2018-04-04 18:47:48 -04:00
Drew DeVault
aead06f43c Link swaylock to xkbcommon 2018-04-04 18:47:48 -04:00
Drew DeVault
1ca6d92c34 Split seat code into its own file 2018-04-04 18:47:48 -04:00
Drew DeVault
2d1a44703b Initial swaylock port 2018-04-04 18:47:48 -04:00