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.