From 75d3da04004809c344dcde5fd97c1cfe900b3285 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Tue, 17 Apr 2018 15:09:14 +0100 Subject: [PATCH] etc/profile.d/functions --- etc/profile.d/functions | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/profile.d/functions b/etc/profile.d/functions index b9fce3e1..a4ccfe94 100644 --- a/etc/profile.d/functions +++ b/etc/profile.d/functions @@ -834,7 +834,8 @@ http_head() { } password_create() { - tr -cd '[:alnum:]' < /dev/urandom | head -c${1:-30} + #tr -cd '[:alnum:]' < /dev/urandom | head -c${1:-30} + tr -cd '!-~' < /dev/urandom | head -c${1:-30} echo } -- 2.47.3