Skip to content

Commit 45592f3

Browse files
authored
Merge pull request Place1#99 from freifunkMUC/GoliathLabs-patch-1
Added: Strong admin password generation to default README
2 parents bdf7d43 + eafee5f commit 45592f3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@ Quick Links:
4343
Here is a quick command to start the wg-access-server for the first time and try it out.
4444

4545
```bash
46-
export WG_ADMIN_PASSWORD="example"
46+
export WG_ADMIN_PASSWORD=$(tr -cd '[:alnum:]' < /dev/urandom | fold -w30 | head -n1)
4747
export WG_WIREGUARD_PRIVATE_KEY="$(wg genkey)"
48+
echo "Your automatically generated admin password for the wg-access-server's web interface: $WG_ADMIN_PASSWORD"
4849

4950
docker run \
5051
-it \

0 commit comments

Comments
 (0)