pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris Travers <chris@travelamericas.com>
To: lmyho <lm_yho@yahoo.com>
Cc: Chris Travers <chris@travelamericas.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: PostgreSQl newbie! -PLease help, pgAdmin3 on Debian!
Date: Tue, 28 Mar 2006 18:55:41 -0800
Message-ID: <4429F72D.5050309@travelamericas.com> (raw)
In-Reply-To: <20060329003926.12191.qmail@web30802.mail.mud.yahoo.com>
References: <20060329003926.12191.qmail@web30802.mail.mud.yahoo.com>

lmyho wrote:

>>> 
>>>
>>>      
>>>
>>>>Some examples of pg_hba.conf entries are shown in Example 19-1. See the next
>>>>section for details on the different authentication methods. 
>>>>
>>>>        
>>>>
>>The authentication methods are handled between the libraries (libpq and 
>>libpxx) and the server.  They are transparent to the application.
>>
>>identd sameuser means use the identd service to require look up the 
>>owner of the process and log him/her in accordingly.  This means that 
>>you cannot change your login name but don't require a password (if you 
>>are on the DB server-- do not trust it remotely).
>>
>>For remote connections kerberos can be used instead, though this takes 
>>more setup and knowledge of Kerberos as a system.
>>
>>    
>>
>Really thank you Chris!!  I really don't know these.:( Forgot what I  tried last
>night, but I ke[t using user postgres to try everytime as I was trying to login as
>an admin user. So here you mean actually with the "ident sameuser", the other 
>username can also login if the access is issued from the user's own process?  (not
>sure how should I state it correctly, but hope you know what I mean):
>  
>

Perhaps I wasn't clear.

With identd authentication a username is still specified.  But you have 
to own the process to login with that username.  So generally speaking 
(absent sudo and the like) you can generally login only with the same 
username as your OS username.

The documentation of PostgreSQL goes into a bit of depth on 
authentication, but if you want a little bit to get started, you might 
find the following article helpful:

http://www.metatrontech.com/sql-ledger-wiki/index.php?UnderstandingPostgreSQLAuthentication

Best Wishes,
Chris Travers
Metatron Technology Consulting



view thread (8+ messages)

Message-ID: <4429F72D.5050309@travelamericas.com>
Permalink:  ../4429F72D.5050309@travelamericas.com/
Also on:    postgresql.org/message-id/4429F72D.5050309@travelamericas.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: chris@travelamericas.com, lm_yho@yahoo.com
  Subject: Re: PostgreSQl newbie! -PLease help, pgAdmin3 on Debian!
  In-Reply-To: <4429F72D.5050309@travelamericas.com>
  References: <20060329003926.12191.qmail@web30802.mail.mud.yahoo.com> <4429F72D.5050309@travelamericas.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox