summaryrefslogtreecommitdiff
path: root/ymir.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2015-09-25 17:38:08 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2015-09-25 17:38:08 +0200
commit2b58fe2c61d06d8827dbb874ee040f800c7b5479 (patch)
tree2048bfb81f6ceae8a3108fdcc2198790d0b3b985 /ymir.nix
parent8a25312edd0533572249dda91d654f421f597fc2 (diff)
downloadnixos-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.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/ymir.nix b/ymir.nix
index c621c5ea..68e66cad 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -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}