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 1178130 commit a08af21Copy full SHA for a08af21
install/hst-install-ubuntu.sh
@@ -1375,7 +1375,7 @@ if [ "$postgresql" = 'yes' ]; then
1375
ppass=$(gen_pass)
1376
cp -f $HESTIA_INSTALL_DIR/postgresql/pg_hba.conf /etc/postgresql/*/main/
1377
systemctl restart postgresql
1378
- sudo -u postgres psql -c "ALTER USER postgres WITH PASSWORD '$ppass'"
+ sudo -iu postgres psql -c "ALTER USER postgres WITH PASSWORD '$ppass'"
1379
1380
# Configuring phpPgAdmin
1381
if [ "$apache" = 'yes' ]; then
0 commit comments