pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: TooManySecrets <toomany@toomany.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: Auth users and command pg_passwd
Date: Fri, 14 Feb 2003 07:40:44 -0500 (EST)
Message-ID: <200302141240.h1ECejT04018@candle.pha.pa.us> (raw)
In-Reply-To: <200302140904.02042.toomany@toomany.net>


You can assign the password as part of createuser, and it is stored
encrypted in the database.

---------------------------------------------------------------------------

TooManySecrets wrote:
[ PGP not available, raw data follows ]
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Thursday 13 February 2003 20:34, Bruce Momjian wrote:
> > pg_password is gone.  Few were using it, and now we encrypt the
> > passwords stored in pg_shadow.  Were you sharing your /etc/password file
> > with PostgreSQL, or did you have another reason for using pg_password?
> 
> Not. I before was creating a user with the command "createuser", and then,
> like as user "postgres", was executing the command " pg_passwd data/passwd ",
> where one was guarding the user and his key encripted. Hereby, in the file
> "pg_hba.conf", it was had by place (the authentication ) this way:
> password/var/lib/data/passwd
> 
> I will study more held up the documentation.
> 
> Thank you very much.
> 
> - -- 
> Have a nice day ;-)
> TooManySecrets
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.1 (FreeBSD)
> 
> iD8DBQE+TKLyICNFwaoqbY8RAqcKAJ9ghIexbX9XMryJkUy2MRA/Mr9ngACeLx8V
> lNKlsSlaKTPVWj+6gED8Tkk=
> =ismN
> -----END PGP SIGNATURE-----
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
> 
[ End of raw data]

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073



view thread (4+ messages)

Message-ID: <200302141240.h1ECejT04018@candle.pha.pa.us>
Permalink:  ../200302141240.h1ECejT04018@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200302141240.h1ECejT04018@candle.pha.pa.us

 · 

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: pgman@candle.pha.pa.us, toomany@toomany.net
  Subject: Re: Auth users and command pg_passwd
  In-Reply-To: <200302141240.h1ECejT04018@candle.pha.pa.us>
  References: <200302140904.02042.toomany@toomany.net> <200302141240.h1ECejT04018@candle.pha.pa.us>

* 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