From: Nicolas Boisselier Date: Tue, 17 Apr 2018 14:09:14 +0000 (+0100) Subject: etc/profile.d/functions X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=75d3da04004809c344dcde5fd97c1cfe900b3285;p=nb.git etc/profile.d/functions --- 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 }