From ec9a5f158899b74eb443eec507f6193ec3cf97d9 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 1 Oct 2015 20:45:31 +0200 Subject: updated xmpp template --- users/xmpp-template.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'users/xmpp-template.nix') diff --git a/users/xmpp-template.nix b/users/xmpp-template.nix index ac127b35..849bc924 100644 --- a/users/xmpp-template.nix +++ b/users/xmpp-template.nix @@ -3,5 +3,5 @@ description = "Firstname Lastname"; extraGroups = ["xmpp"]; group = "users"; - hashedPassword = "$(pwgen | mkpasswd -m sha-512 -R 500000)"; + hashedPassword = "$(pwgen -s 32 1 | tee /dev/stderr | mkpasswd -s -m sha-512 -R 500000)"; } -- cgit v1.2.3