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 8556e8e.
  • Loading branch information
Marco van Wieringen committed Dec 3, 2015
1 parent fa1e658 commit 5d8dded
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/bareos-config-lib.sh.in
Expand Up @@ -554,7 +554,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 5d8dded

Please sign in to comment.