tags:

views:

42

answers:

2

I have installed postgresql in ubuntu.

But i need to know the username and password for it?

If i have to set it, how do i do that?

Thanks!

+1  A: 

Did you check the Ubuntu-manual?

Frank Heikens
+2  A: 

You do not need to know postgresql's password.Because by default,postgresql trust local os users.So you can login postgresql without password:

psql -d db -U postgres

then you can change you password:

alter user postgres password 'password'
tinychen