Is 'Peer authentication' supported on HPUX ?

Started by tushar ahujaabout 13 years ago2 messagesgeneral
Jump to latest
#1tushar ahuja
difftushar@gmail.com

Hi,

Is 'Peer authentication' supported on HPUX ? I am using PG 9.2 , where i
have set

postgres1 postgres postgres --> in pg_ident.conf

local all all ident map=postgresql1 --> in pg_hba.conf file

ident_file='/home/Postgresql/9.2/data/pg_ident.conf' --> in
postgresql.conf file

server got restarted successfully but at the time of connecting to user
'postgres' , i am getting this message :-

$ ./psql -U postgres postgres
2013-03-30 23:25:18 EDT LOG: peer authentication is not supported on this
platform
2013-03-30 23:25:18 EDT FATAL: Peer authentication failed for user
"postgres"
psql: FATAL: Peer authentication failed for user "postgres"

Regards,
Tushar

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: tushar ahuja (#1)
Re: Is 'Peer authentication' supported on HPUX ?

tushar ahuja <difftushar@gmail.com> writes:

Is 'Peer authentication' supported on HPUX ?

The fine manual says

Peer authentication is only available on operating systems providing the
getpeereid() function, the SO_PEERCRED socket parameter, or similar
mechanisms. Currently that includes Linux, most flavors of BSD including
Mac OS X, and Solaris.

regards, tom lane

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general