1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/movim_ynh.git synced 2024-09-03 19:46:19 +02:00

change random generation

This commit is contained in:
src386 2015-08-21 17:53:11 +02:00
parent 31f68b44ab
commit d064a8edfb

View file

@ -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 '[[:alnum:]]' | sed -n 's/\(.\{24\}\).*/\1/p')
db_pwd=$(dd if=/dev/urandom bs=1 count=200 2> /dev/null | tr -c -d '[[:alnum:]]')
# Use 'movim' as database name and user
db_user=movim