Skip navigation.

Django & Tangos

Baby steps to a lovely web

Postgresql on Ubuntu

,

I just installed Postgresql on my Ubuntu 9.04 jaunty and after it completes I tried to login with PgAdmin when I realized that I haven't set a password for postgres user.
I found a couple of steps to get it, but man, it's silly that the user must know these details.

first, reset your postgres password

$ sudo su postgres -c psql template1
template1=# ALTER USER postgres WITH PASSWORD 'password';
template1=# \q


then, set the system's user postgres password

$ sudo passwd -d postgres
$ sudo su postgres -c passwd



if you want more details, this post is worth to read

http://hocuspokus.net/2008/05/install-postgresql-on-ubuntu-804

My OperaCan't resolve adobe.com

How to use Quote function:

  1. Select some text
  2. Click on the Quote link

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

If you can't read the words, press the small reload icon.


Smilies

January 2010
M T W T F S S
December 2009February 2010
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31