Base
This commit is contained in:
7
db_archive/docker/tools/postgres_init.sh
Normal file
7
db_archive/docker/tools/postgres_init.sh
Normal file
@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Specify the path to your file
|
||||
file_path="/var/lib/postgresql/data/pg_hba.conf"
|
||||
|
||||
# Use sed to replace "trust" with "m5a" in the file
|
||||
sed -i 's/trust/md5/g' "$file_path"
|
||||
Reference in New Issue
Block a user