Skip to content

Commit

Permalink
Revert "call openssl rand with an excplicit RANDFILE=/dev/urandom"
Browse files Browse the repository at this point in the history
This reverts commit 2f1ca1e.
  • Loading branch information
Marco van Wieringen committed Dec 3, 2015
1 parent 403124b commit ca7d5dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/bareos-config-lib.sh.in
Expand Up @@ -734,7 +734,7 @@ initialize_passwords()
if [ ! -f ${DIR_CFG}/.rndpwd ]; then
for string in ${PASSWORD_SUBST}
do
pass=`RANDFILE=/dev/urandom openssl rand -base64 33`
pass=`openssl rand -base64 33`
echo "${string}=${pass}" >> ${DIR_CFG}/.rndpwd
done
chmod 400 ${DIR_CFG}/.rndpwd
Expand Down

0 comments on commit ca7d5dd

Please sign in to comment.