mirror of https://github.com/samply/bridgehead.git
13 lines
342 B
Bash
Executable File
13 lines
342 B
Bash
Executable File
#!/bin/bash -e
|
|
source lib/functions.sh
|
|
|
|
log "This script add's a user with password to the bridghead"
|
|
|
|
read -p 'Username: ' bc_user
|
|
read -sp 'Password: ' bc_password
|
|
|
|
echo
|
|
|
|
log "Please export the line in the your environment. Please replace the dollar signs with with \\\$"
|
|
docker run --rm -it httpd:latest htpasswd -nb $bc_user $bc_password
|