Re: password encyption - Mailing list pgadmin-support

From Dave Page
Subject Re: password encyption
Date
Msg-id FED2B709E3270E4B903EB0175A49BCB10476CD@dogbert.vale-housing.co.uk
Whole thread Raw
In response to password encyption  (Ivan Horvath <i.horvath@alco.co.hu>)
List pgadmin-support
Ivan,
 
I suspect you need to relink php against the 7.2 libpq, but that's way off topic for this list. I *think* there is a pgsql-php@postgresql.org list - why not ask there, or try pgsql-interfaces@postgresql.org.
 
Regards, Dave.
-----Original Message-----
From: Ivan Horvath [mailto:i.horvath@alco.co.hu]
Sent: 18 March 2002 09:08
To: Dave Page; 'Peter E. Chen'
Cc: pgadmin-support@postgresql.org
Subject: Re: [pgadmin-support] password encyption

Dave,
 
thank you the documentation link, i modified teh pg_hba.conf file and i can connect from pgadmin tool.
but i have a problem to connect to the database from php script.
here is my script:
 
$conn = pg_Connect("host=192.168.1.30 port=5432 dbname=PMS2500 user=pms_ivan password=ivan");
i tried also:
$conn = pg_Connect("host=192.168.1.30 port=5432 dbname=PMS2500 user=pms_ivan password=md5('ivan')");
echo $conn;
it is not working, what encryption method i have to use?
 
Ivan
----- Original Message -----
From: Dave Page
Sent: Wednesday, March 13, 2002 9:56 PM
Subject: RE: [pgadmin-support] password encyption

I have just written a doc about the encrypted passwords which will be in the helpfile for the next release of pgAdmin, and can be found at http://www.pgadmin.org/pgadmin2.php?ContentID=19.
 
SSH connections are slightly different to the encrypted passwords - they encrypt the entire session over the wire, whilst the passwords are encrypted over the wire *and* in pg_shadow. pgAdmin with SSH is outlined here: http://www.pgadmin.org/pgadmin2.php?ContentID=11
 
For the best security,  why not use both?
 
Regards, Dave.
-----Original Message-----
From: Peter E. Chen [mailto:pchen3@jhmi.edu]
Sent: 13 March 2002 16:09
To: Ivan Horvath
Cc: pgadmin-support@postgresql.org
Subject: Re: [pgadmin-support] password encyption

Ivan,
 
I tunnel my pgAdmin connection through an SSH connection to provide security for pgAdmin logins.  You can use the standard SSH port forwarding feature to have your pgAdmin connect to PostgreSQL.  I believe there is now documentation on how to use SSH port forwarding with pgAdmin. 
 
I hope this helps.
 
Peter
-----Original Message-----
From: pgadmin-support-owner@postgresql.org [mailto:pgadmin-support-owner@postgresql.org]On Behalf Of Ivan Horvath
Sent: Wednesday, March 13, 2002 5:53 AM
To: pgadmin-support@postgresql.org
Subject: [pgadmin-support] password encyption

Hi All,
 
i created a user in pgadmin, specified a password of course. the user is created, but the password is encypted somehow., i cannot log in anymore!!!
please help me, what is the problem

Best Regards,

Iván Horváth
Chief Programmer

Alcatel NSD
PMS 2000 Product Team

H-1116, Budapest
Kondorfa u. 10.
Tel.: +36 1 209 9546
Fax.: +36 1 463 7271
Mobil: +36 30 257 0235
E-mail:
i.horvath@alco.co.hu
Check my Web Page

Anyone who has never made a mistake has never tried anything new.

/Albert Einstein/

pgadmin-support by date:

Previous
From: Ivan Horvath
Date:
Subject: Re: password encyption
Next
From: "Raymond Chui"
Date:
Subject: ERROR: fmgr_info: function 1296284: cache lookup failed