under root
sudo -u postgres psql -U postgres -c "alter user postgres with password 'pass';"
under root grep -irn "Environment=PGDATA" /usr/lib/systemd/system/
run: systemctl show postgresql-12
please re-run next command (under root): grep -iR "/var/lib/pgsql/12" /etc
Обсуждают сегодня