Re: PostgreSQl newbie! -PLease help, pgAdmin3 on Debian!

From: Chris Travers <chris(at)travelamericas(dot)com>
To: lmyho <lm_yho(at)yahoo(dot)com>
Cc: Chris Travers <chris(at)travelamericas(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: PostgreSQl newbie! -PLease help, pgAdmin3 on Debian!
Date: 2006-03-29 02:55:41
Message-ID: 4429F72D.5050309@travelamericas.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Chris Travers 2006-03-29 03:00:32 Re: 7.4 --> 8.0/8.1 upgrade
Previous Message Scott Marlowe 2006-03-29 01:55:18 Re: 7.4 --> 8.0/8.1 upgrade