Documentation about change default passwords

Simó Albert i Beltran 2021-05-28 11:31:14 +02:00
parent e3caf7460a
commit 3a56777a38
2 changed files with 8 additions and 0 deletions

View File

@ -33,6 +33,12 @@ See `docs` directory for Markdown files or the [auto-built site](https://digital
cp digitaldemocratic.conf.sample digitaldemocratic.conf
```
Change default passwords
```
./securize_conf.sh
```
Edit digitaldemocratic.conf file variables to suit your needs.
```

2
securize_conf.sh Normal file → Executable file
View File

@ -1,3 +1,5 @@
#!/bin/sh
PWD=$(shuf -n3 /usr/share/dict/words | tr -d "\n" | tr -d "'")
sed -i "/^SMTP_PASSWORD=/c\SMTP_PASSWORD=$PWD" digitaldemocratic.conf