Debian Sarge, Postgres 7.4.6 + PAM

Started by Bruno Lavoieabout 21 years ago3 messagesgeneral
Jump to latest
#1Bruno Lavoie
bruno.lavoie@gmail.com

Hello,

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

thanx a lot!
Bruno

#2Peter Eisentraut
peter_e@gmx.net
In reply to: Bruno Lavoie (#1)
Re: Debian Sarge, Postgres 7.4.6 + PAM

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/

#3Bruno Lavoie
bruno.lavoie@gmail.com
In reply to: Bruno Lavoie (#1)
Re: Debian Sarge, Postgres 7.4.6 + PAM

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