Thread: Debian Sarge, Postgres 7.4.6 + PAM

Debian Sarge, Postgres 7.4.6 + PAM

From
Bruno Lavoie
Date:
Hello,

is there a way to easily configure postgresql to auth with pam on debian?

thanx a lot!
Bruno

Re: Debian Sarge, Postgres 7.4.6 + PAM

From
Peter Eisentraut
Date:
Bruno Lavoie wrote:
> is there a way to easily configure postgresql to auth with pam on
> debian?

Yes, the same way as on any other platform.  What particular problem are
you having?

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

Re: Debian Sarge, Postgres 7.4.6 + PAM

From
Bruno Lavoie
Date:
what should i put in /etc/pam.d/postgresql ?

i dont know how works pam, i'll read about it, but not enough time for
now, i added theses lines to /etc/pam.d/postgresql file:

auth        required    pam_unix.so nullok_secure
account     required    pam_unix.so


it works, auth via my unix users, is it the best way, the safest way?

thanks for help
Bruno