From 87e9b122a800132c34400f6cb7ca90f7d5147290 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Tue, 6 Sep 2011 15:45:43 +0200 Subject: [PATCH] on first start generate password with 16 chars --- chrony.helper | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrony.helper b/chrony.helper index a5bbf84..34add5f 100644 --- a/chrony.helper +++ b/chrony.helper @@ -32,7 +32,7 @@ generate_commandkey() { commandkey=$(get_key $commandkeyid) [ -z "$commandkey" ] || return 0 - commandkey=$(tr -c -d '[\041-\176]' < /dev/urandom | head -c 8) + commandkey=$(tr -c -d '[\041-\176]' < /dev/urandom | head -c 16) [ -n "$commandkey" ] && echo "$commandkeyid $commandkey" >> $keyfile }