diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-09-25 17:38:08 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-09-25 17:38:08 +0200 |
commit | 2b58fe2c61d06d8827dbb874ee040f800c7b5479 (patch) | |
tree | 2048bfb81f6ceae8a3108fdcc2198790d0b3b985 /ymir.nix | |
parent | 8a25312edd0533572249dda91d654f421f597fc2 (diff) | |
download | nixos-2b58fe2c61d06d8827dbb874ee040f800c7b5479.tar nixos-2b58fe2c61d06d8827dbb874ee040f800c7b5479.tar.gz nixos-2b58fe2c61d06d8827dbb874ee040f800c7b5479.tar.bz2 nixos-2b58fe2c61d06d8827dbb874ee040f800c7b5479.tar.xz nixos-2b58fe2c61d06d8827dbb874ee040f800c7b5479.zip |
Trying to log login attempts on xmpp
Diffstat (limited to 'ymir.nix')
-rw-r--r-- | ymir.nix | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -97,9 +97,14 @@ in { | |||
97 | }; | 97 | }; |
98 | }; | 98 | }; |
99 | security.pam.services."xmpp".text = '' | 99 | security.pam.services."xmpp".text = '' |
100 | auth [success=1 default=ignore] pam_unix.so obscure sha512 nodelay | 100 | auth required pam_warn.so |
101 | auth required pam_succeed_if.so user ingroup xmpp | 101 | auth required pam_succeed_if.so user ingroup xmpp |
102 | auth [success=1 default=ignore] pam_unix.so obscure sha512 nodelay | ||
102 | auth requisite pam_deny.so | 103 | auth requisite pam_deny.so |
103 | auth required pam_permit.so | 104 | auth required pam_permit.so |
104 | ''; | 105 | ''; |
106 | users.group."xmpp" = { | ||
107 | members = [ "gkleen" | ||
108 | ]; | ||
109 | }; | ||
105 | } | 110 | } |