Received: from sentry.granch.com (sentry.granch.com [212.109.197.55]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f6G3lba38214 for ; Sun, 15 Jul 2001 23:47:37 -0400 (EDT) (envelope-from shelton@sentry.granch.com) Received: (from shelton@localhost) by sentry.granch.com (8.11.4/8.11.4) id f6G3lFQ17604; Mon, 16 Jul 2001 10:47:15 +0700 (NOVST) (envelope-from shelton) Content-Type: text/plain; charset="koi8-r" From: "Rashid N. Achilov" Organization: Granch Ltd. To: Calvin NG Subject: Re: crypt autorization Date: Mon, 16 Jul 2001 10:47:15 +0700 X-Mailer: KMail [version 1.2] References: <0107132237470T.06256@sentry.granch.com> <20010714191743.A57215@brel.com> In-Reply-To: <20010714191743.A57215@brel.com> Cc: pgsql-admin@postgresql.org MIME-Version: 1.0 Message-Id: <0107161047150U.06256@sentry.granch.com> Content-Transfer-Encoding: 8bit X-Archive-Number: 200107/60 X-Sequence-Number: 1811 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... -- With Best Regards. Rashid N. Achilov (RNA1-RIPE), Web: http://granch.ru/~shelton Granch Ltd. system administrator, e-mail: achilov@granch.ru PGP: 83 CD E2 A7 37 4A D5 81 D6 D6 52 BF C9 2F 85 AF 97 BE CB 0A