diff options
| author | sghctoma <sghctoma@gmail.com> | 2018-08-30 09:58:57 +0200 |
|---|---|---|
| committer | sghctoma <sghctoma@gmail.com> | 2018-08-30 09:58:57 +0200 |
| commit | 2376a9c5d788daa9894c7396bb2a6c41dfb5df26 (patch) | |
| tree | 8be01d08b14998fc7694bf74aa644db6bf8a3fd3 /pam | |
| parent | 01e7492d702841bcfebbb99f42866b35ac9f4fe9 (diff) | |
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.
Diffstat (limited to 'pam')
| -rw-r--r-- | pam/swaylock.freebsd | 6 | ||||
| -rw-r--r-- | pam/swaylock.linux (renamed from pam/swaylock) | 0 |
2 files changed, 6 insertions, 0 deletions
diff --git a/pam/swaylock.freebsd b/pam/swaylock.freebsd new file mode 100644 index 0000000..603fc18 --- /dev/null +++ b/pam/swaylock.freebsd @@ -0,0 +1,6 @@ +# +# PAM configuration file for the swaylock screen locker. By default, it includes +# the 'passwd' configuration file (see /etc/pam.d/passwd) +# + +auth include passwd diff --git a/pam/swaylock b/pam/swaylock.linux index 6a36b0d..6a36b0d 100644 --- a/pam/swaylock +++ b/pam/swaylock.linux |
