fix
This commit is contained in:
parent
b0dfda6c9b
commit
cc413f69a1
@ -36,11 +36,11 @@
|
|||||||
else
|
else
|
||||||
webpassword=$(pwgen -s 32 1)
|
webpassword=$(pwgen -s 32 1)
|
||||||
webuser=bot
|
webuser=bot
|
||||||
webpasswordcrypted=$(htpasswd -nb ${webuser} ${webpassword})
|
webpasswordcrypted=$(htpasswd -nb ${webuser} ${webpassword} | sed -e 's/\\$/\\$\\$/g')
|
||||||
|
|
||||||
echo "WEBUSER=${webuser}
|
echo "WEBUSER=${webuser}
|
||||||
WEBPASSWD=${webpassword}
|
WEBPASSWD='${webpassword}'
|
||||||
WEBPASSWDCRYPT=${webpasswordcrypted}
|
WEBPASSWDCRYPT='${webpasswordcrypted}'
|
||||||
" >env
|
" >env
|
||||||
|
|
||||||
chmod 440 env
|
chmod 440 env
|
||||||
|
Loading…
Reference in New Issue
Block a user