pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Calvin NG <calvinng@brel.com>
To: Rashid N. Achilov <shelton@sentry.granch.ru>
Cc: pgsql-admin@postgresql.org
Subject: Re: crypt autorization
Date: Mon, 16 Jul 2001 13:26:31 +0800
Message-ID: <20010716132631.B60544@brel.com> (raw)
In-Reply-To: <0107161047150U.06256@sentry.granch.com>
References: <0107132237470T.06256@sentry.granch.com>
	<20010714191743.A57215@brel.com>
	<0107161047150U.06256@sentry.granch.com>

Greetings,

  Ahh, using crypt. I am probably wrong, but I think the frontend 
  tools (i.e. psql) do not know how to do crypt.  I mean there are 
  no options to tell itwhen to send clear text, and when to send 
  "crypt" password.  And I am pretty sure the frontend tools do 
  not refer to pg_hba.conf as this is a backend file.

  You can probably only use/test "crypt" in your own applications.

  In any case, if you are concerned about sending password over the
  internet, crypt is not going to improve security much.  IMHO, You 
  might be better off exploring how to use ssh to tunnel the database
  communication. 

Regards,
/calvin

lines with :> are quotes from Rashid N. Achilov's email
:> On Saturday 14 July 2001 18:17, you wrote:
:> > Greetings,
:> >
:> >   use pg_passwd to create the pwd file,
:> >   e.g.
:> >     # pg_passwd /usr/local/pgsql/data/pg_pwd
:> >   this will prompt you for the user ID, and then the password (and
:> > confirmation).
:> >
:> >   I would suggest executing the command as the user running the database
:> > daemon.
:> 
:> As root...:-) I did this, and change passowrd in password file from 
:> pg_hba.conf. Anything, `psql -d template1 -U shelton` said "Password 
:> authentication failed for user 'shelton'" ('shelton' exist in pg_pwd and 
:> password file). And pg_pwd zeroed when I create/drop users through 
:> 'createuser' or 'dropuser' scripts. I don't doubt about pg_pwd. I doubt, how
:> can I setup 'crypt' autorization type. I wouldn't like clear password in 
:> network...
:> -- 



view thread (3+ messages)

Message-ID: <20010716132631.B60544@brel.com>
Permalink:  ../20010716132631.B60544@brel.com/
Also on:    postgresql.org/message-id/20010716132631.B60544@brel.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: calvinng@brel.com, shelton@sentry.granch.ru
  Subject: Re: crypt autorization
  In-Reply-To: <20010716132631.B60544@brel.com>
  References: <0107132237470T.06256@sentry.granch.com> <20010714191743.A57215@brel.com> <0107161047150U.06256@sentry.granch.com> <20010716132631.B60544@brel.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox