postgresql 7 user passwords dont work ?????

Started by Eric Webberover 25 years ago3 messagesgeneral
Jump to latest
#1Eric Webber
streethockey@ureach.com

users dont seem to need password in postgres 7 on red hat linux
6.2, compiled from source.

I do an:

alter user nsadmin with password 'whatever';

And then when I do an:

psql -u -d mydb

username: nsadmin password: NOTwhatever

IT STILL LETS ME IN ????

This should not be so should it ?

please advise, thanks

streethockey@ureach.com

________________________________________________
Get your own "800" number - Free
Free voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag

#2Fabrice Scemama
fabrices@ximmo.ftd.fr
In reply to: Eric Webber (#1)
Re: postgresql 7 user passwords dont work ?????

su - postgres
chmod u+w ~/data/pg_hba.conf
vi ~/data/pg_hba.conf
chmod u-w ~/data/pg_hba.conf

Eric Webber wrote:

Show quoted text

users dont seem to need password in postgres 7 on red hat linux
6.2, compiled from source.

I do an:

alter user nsadmin with password 'whatever';

And then when I do an:

psql -u -d mydb

username: nsadmin password: NOTwhatever

IT STILL LETS ME IN ????

This should not be so should it ?

please advise, thanks

streethockey@ureach.com

________________________________________________
Get your own "800" number - Free
Free voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag

#3Emile D Snyder
emile@cosource.com
In reply to: Eric Webber (#1)
Re: postgresql 7 user passwords dont work ?????

Isn't this the

local all trust
host all 127.0.0.1 255.255.255.255 trust

lines in the default pg_hba.conf file that comes with the distribution?

-emile

On Wed, 30 Aug 2000, Eric Webber wrote:

Show quoted text

users dont seem to need password in postgres 7 on red hat linux
6.2, compiled from source.

I do an:

alter user nsadmin with password 'whatever';

And then when I do an:

psql -u -d mydb

username: nsadmin password: NOTwhatever

IT STILL LETS ME IN ????

This should not be so should it ?

please advise, thanks

streethockey@ureach.com

________________________________________________
Get your own "800" number - Free
Free voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag