We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f437a32 commit 1178130Copy full SHA for 1178130
install/hst-install-debian.sh
@@ -1421,7 +1421,7 @@ if [ "$postgresql" = 'yes' ]; then
1421
ppass=$(gen_pass)
1422
cp -f $HESTIA_INSTALL_DIR/postgresql/pg_hba.conf /etc/postgresql/*/main/
1423
systemctl restart postgresql
1424
- sudo -u postgres psql -c "ALTER USER postgres WITH PASSWORD '$ppass'"
+ sudo -iu postgres psql -c "ALTER USER postgres WITH PASSWORD '$ppass'"
1425
1426
# Configuring phpPgAdmin
1427
if [ "$apache" = 'yes' ]; then
0 commit comments