Merge branch 'documentation_securize_conf' into 'master'
Documentation about change default passwords See merge request digitaldemocratic/digitaldemocratic!14
commit
71f84377c2
|
@ -33,6 +33,12 @@ See `docs` directory for Markdown files or the [auto-built site](https://digital
|
||||||
cp digitaldemocratic.conf.sample digitaldemocratic.conf
|
cp digitaldemocratic.conf.sample digitaldemocratic.conf
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Change default passwords
|
||||||
|
|
||||||
|
```
|
||||||
|
./securize_conf.sh
|
||||||
|
```
|
||||||
|
|
||||||
Edit digitaldemocratic.conf file variables to suit your needs.
|
Edit digitaldemocratic.conf file variables to suit your needs.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
PWD=$(shuf -n3 /usr/share/dict/words | tr -d "\n" | tr -d "'")
|
PWD=$(shuf -n3 /usr/share/dict/words | tr -d "\n" | tr -d "'")
|
||||||
sed -i "/^SMTP_PASSWORD=/c\SMTP_PASSWORD=$PWD" digitaldemocratic.conf
|
sed -i "/^SMTP_PASSWORD=/c\SMTP_PASSWORD=$PWD" digitaldemocratic.conf
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue