Secure password file
This commit is contained in:
@@ -372,6 +372,7 @@ service_create() {
|
||||
password=$(openssl rand -hex 16)
|
||||
echo "$rootpassword" > "$SERVICE_ROOT/ROOTPASSWORD"
|
||||
echo "$password" > "$SERVICE_ROOT/PASSWORD"
|
||||
chmod 640 "$SERVICE_ROOT/ROOTPASSWORD" "$SERVICE_ROOT/PASSWORD"
|
||||
touch "$LINKS_FILE"
|
||||
|
||||
if [[ -n $MONGO_CUSTOM_ENV ]]; then
|
||||
|
||||
Reference in New Issue
Block a user