Re: Ident authentication failed without su to user

Поиск
Список
Период
Сортировка
От Andreas Seltenreich
Тема Re: Ident authentication failed without su to user
Дата
Msg-id 87r761q6bq.fsf@gate450.dyndns.org
обсуждение исходный текст
Ответ на Ident authentication failed without su to user  ("James A. Bowery" <jabowery@laboratoryofthestates.com>)
Список pgsql-novice
James A. Bowery writes:

> I've created a database "bugs" and a user "bugs" (postgresql user as
> well as unix) and even made user "bugs" not require a password but I
> still get this:
> [root@marathon bugzilla-2.20]# psql bugs bugs
> psql: FATAL:  Ident authentication failed for user "bugs"
> ...
> but if I
> [root@marathon bugzilla-2.20]# su bugs
> [bugs@marathon bugzilla-2.20]$ psql bugs bugs
[...]
> it works.  any ideas why?

That's a how the ident method is supposed to work:
<http://en.wikipedia.org/wiki/Ident>

If you want neither ident nor password authentication, you can either
use the trust method, or set up SSL client certificates.

<http://www.postgresql.org/docs/8.1/static/client-authentication.html>
<http://www.postgresql.org/docs/8.1/static/ssl-tcp.html>

regards,
Andreas
--

В списке pgsql-novice по дате отправления:

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: php cant see new table!!
Следующее
От: Andreas Seltenreich
Дата:
Сообщение: Re: Query question, subselects and referencing out?