=?ISO-8859-2?Q?Jakub_Go=B3=EAbiewski?= <jakub21(at)gmail(dot)com> writes:
> I'm trying to configure authentication to postgresql 8.4 on FreeBSD Current
> with pam, but when I restart the server I can't login into database using
> pam authentication.
You'll need to check your PAM documentation, but if this is trying to
read the Unix password file directly then it won't work, because
postgres doesn't run as root. You'd need to have an external helper
program of some sort. Afraid I don't use PAM enough to offer specifics.
regards, tom lane