Files
webarchive/db_archive/docker/tools/postgres_init.sh
Raphael Rouiller aa54287126 Base
2024-07-08 14:06:52 +02:00

7 lines
182 B
Bash

#!/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"