First commit
This commit is contained in:
10
02-create_traefik_dashboard_credentials.sh
Executable file
10
02-create_traefik_dashboard_credentials.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
PlainTextPW=$(pwgen 16 1)
|
||||
|
||||
echo $PlainTextPW > Password.txt &&
|
||||
htpasswd -nb admin "$PlainTextPW" | sed -e 's/\$/\$\$/g' > HashTextPW.txt
|
||||
|
||||
echo "PW is: $PlainTextPW"
|
||||
cat HashTextPW.txt
|
||||
|
||||
Reference in New Issue
Block a user