Re: auth problem - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: auth problem
Date
Msg-id 1255349082.30201.2.camel@fsopti579.F-Secure.com
Whole thread Raw
In response to auth problem  (Vasiliy G Tolstov <v.tolstov@selfip.ru>)
Responses Re: auth problem
List pgsql-general
On Mon, 2009-10-12 at 15:17 +0400, Vasiliy G Tolstov wrote:
> Hello.
> Today i'm try to install postresql an init database
>
> initdb --pgdata=/media/pgsql --encoding=utf8 --locale=en_US.UTF-8
> --auth=crypt --username=postgres --pwprompt
>
> password is crypted $1$qJzh/8AD$Q0wVsHF9XE9NmA/8uKjy2/
>
> then i start postgresql and try to connect via psql following message
> appears in syslog:
>
> cannot use authentication method "crypt" because password is
> MD5-encrypted
>
> How can i use crypted passwords with pgsql?

Use --auth=md5.



pgsql-general by date:

Previous
From: 纪晓曦
Date:
Subject: Re: Where can I get the number of plans that considered by Planner?
Next
From: Vasiliy G Tolstov
Date:
Subject: Re: auth problem