| От | Orlando Eloy Gentil |
|---|---|
| Тема | Problems with authentication |
| Дата | |
| Msg-id | 3A657C2B.A5D51BCE@cdludi.com.br обсуждение |
| Ответы |
Re: Problems with authentication
|
| Список | pgsql-novice |
Hi all,
I changed the last two lines from my pg_hda.conf (
"trust" to "crypt") in order to improve my security.
I did the following after "su -l postgres"
1-> createdb postgres
2-> chmod 600 pg_pwd
3-> psql
4-> alter user postgres with password postgres_pw
5-> \q
6-> changed the file pg_hda.conf as described later
7-> /etc/rc.d/init.d/postgresql restart
After this when I try to use "psql -u -d postgres" or "psql -u",
it
says that connection to database failed and failed authentication.
My Postmaster starts OK with -S -i -p 5432....
What can be happening?
Thanks in advance,
Orlando
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера