From 64be974a0c369283be84189e85d8b770d3b8fff8 Mon Sep 17 00:00:00 2001 From: src386 Date: Fri, 21 Aug 2015 14:23:50 +0200 Subject: [PATCH] password generation no special car --- README.md | 1 + TODO | 1 + scripts/install | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 295d826..582b595 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,7 @@ Current Movim version : 20150820. 0.8b ? - Added to language selection : ar, de, es, it, ja, nl, ru - Fix URL in manifest.json (was https://https://...) +- Modified mysql password generation (no special car) 0.7b 2015-08-20 - Update to upstream Movim 20150820 to fix #5 diff --git a/TODO b/TODO index e69de29..60f7e13 100644 --- a/TODO +++ b/TODO @@ -0,0 +1 @@ +- Allow access to blog when private installation selected diff --git a/scripts/install b/scripts/install index 6c19c0f..b9cdd4d 100644 --- a/scripts/install +++ b/scripts/install @@ -38,7 +38,7 @@ sudo yunohost app setting movim public_site -v $public_site sudo yunohost app setting movim port -v $port # Generate random password -db_pwd=$(dd if=/dev/urandom bs=1 count=200 2> /dev/null | tr -c -d '[A-Za-z0-9]' | sed -n 's/\(.\{24\}\).*/\1/p') +db_pwd=$(strings /dev/urandom | grep -o '[[:alnum:]]' | head -n 24 | tr -d '\n'; echo) # Use 'movim' as database name and user db_user=movim