dbTalk Databases Forums  

postgres account default password

comp.databases.postgresql.novice comp.databases.postgresql.novice


Discuss postgres account default password in the comp.databases.postgresql.novice forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Yves
 
Posts: n/a

Default postgres account default password - 07-15-2004 , 12:57 PM







Hello,

I recently set up a small Mandrake 10 box that I want
to use as a DB server....

I tried to log in to postgres through ssh and trough
webmin and I'm not sure what the default password is.

Can anyone help?

Thanks,

Yves

__________________________________________________ ____________________
Post your free ad now! http://personals.yahoo.ca

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org


Reply With Quote
  #2  
Old   
Frank Bax
 
Posts: n/a

Default Re: postgres account default password - 07-15-2004 , 01:31 PM






At 01:57 PM 7/15/04, Yves wrote:
Quote:
I recently set up a small Mandrake 10 box that I want
to use as a DB server....

I tried to log in to postgres through ssh and trough
webmin and I'm not sure what the default password is.

Login as yourself, 'su' to root, then 'su' to postgres (there will be no
password prompt), then change the password.


---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend



Reply With Quote
  #3  
Old   
Felix E. Klee
 
Posts: n/a

Default Re: postgres account default password - 07-15-2004 , 01:32 PM



On Thu, 15 Jul 2004 13:57:44 -0400 (EDT) Yves wrote:
Quote:
I tried to log in to postgres through ssh and trough
webmin and I'm not sure what the default password is.
Why don't you login as a normal user, become root, and then change the
password of the postgres user?

Felix

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo (AT) postgresql (DOT) org so that your
message can get through to the mailing list cleanly



Reply With Quote
  #4  
Old   
Julian Leyh
 
Posts: n/a

Default Re: postgres account default password - 07-15-2004 , 05:30 PM



ok, here for the list.. sorry..

On Thu, 15 Jul 2004 14:31:26 -0400
Frank Bax <fbax (AT) sympatico (DOT) ca> wrote:

Quote:
Login as yourself, 'su' to root, then 'su' to postgres (there will be
no password prompt), then change the password.
better: use sudo(8).
for example: sudo -u postgres psql foobar

no need to enter root password.

cu
JRL

--
visit my OpenBSD ports page: http://vgai.de/ports
--
If you don't remember something, it never existed...
If you aren't remembered, you never existed...

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match



Reply With Quote
  #5  
Old   
Yves
 
Posts: n/a

Default Re: postgres account default password - 07-16-2004 , 06:26 AM



Thanks fo the replies,

I changed the password of the postgres account and
still cannot log in...

Should the root account be like an administrative
account having all rights and privileges within the
postgres server?

Thanks,

Yves


--- Julian Leyh <oenone (AT) oenone (DOT) de> wrote: > ok, here
for the list.. sorry..
Quote:
On Thu, 15 Jul 2004 14:31:26 -0400
Frank Bax <fbax (AT) sympatico (DOT) ca> wrote:

Login as yourself, 'su' to root, then 'su' to
postgres (there will be
no password prompt), then change the password.

better: use sudo(8).
for example: sudo -u postgres psql foobar

no need to enter root password.

cu
JRL

--
visit my OpenBSD ports page: http://vgai.de/ports
--
If you don't remember something, it never existed...
If you aren't remembered, you never existed...

---------------------------(end of
broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose
an index scan if your
joining column's datatypes do not match

__________________________________________________ ____________________
Post your free ad now! http://personals.yahoo.ca

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster



Reply With Quote
  #6  
Old   
Frank Bax
 
Posts: n/a

Default Re: postgres account default password - 07-16-2004 , 07:25 AM



At 07:26 AM 7/16/04, Yves wrote:
Quote:
I changed the password of the postgres account and
still cannot log in...

vipw

check to see if postgres user has a shell. If its something like /bin
false, change it to something like /bin/bash - or your favorite shell.


---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo (AT) postgresql (DOT) org so that your
message can get through to the mailing list cleanly



Reply With Quote
  #7  
Old   
Yves
 
Posts: n/a

Default Re: postgres account default password - 07-16-2004 , 08:51 AM



Thanks for the response,

It was set to /bin/bash already...

It was the webmin console that was a problem, I
'synced' it with the unix user and now it works fine.

Thanks for the help!

I'm quite new to postgres, I used MySQL a bit before,
I've heard it said that PostgreSQL was a very secure
server... I'm interested in checking it out.

Yves


--- Frank Bax <fbax (AT) sympatico (DOT) ca> wrote: > At 07:26 AM
7/16/04, Yves wrote:
Quote:
I changed the password of the postgres account and
still cannot log in...


vipw

check to see if postgres user has a shell. If its
something like /bin
false, change it to something like /bin/bash - or
your favorite shell.


---------------------------(end of
broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please
send an appropriate
subscribe-nomail command to
majordomo (AT) postgresql (DOT) org so that your
message can get through to the mailing list
cleanly

__________________________________________________ ____________________
Post your free ad now! http://personals.yahoo.ca

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.