Resettare la password dell'utente postgres in Debian: Difference between revisions

From RVM Wiki
Jump to navigation Jump to search
m Created page with "* Impostare la password dell'utente unix sudo passwd postgres * Loggarsi come postgres sudo -u postgres -i * Impostare la password dell'utente database: psql -c "ALTER USER …"
 
(No difference)

Latest revision as of 16:43, 4 January 2013

  • Impostare la password dell'utente unix
sudo passwd postgres
  • Loggarsi come postgres
sudo -u postgres -i
  • Impostare la password dell'utente database:
psql -c "ALTER USER postgres WITH PASSWORD 'changeme'" -d template1

Riferimenti