Unix Technical Forum

when to modify..

This is a discussion on when to modify.. within the pgsql Admins forums, part of the PostgreSQL category; --> Either Im tired or the documentation is confusing, when do I need to modify pg_hba.conf vs just doing a ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Admins

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 12:49 AM
Lori
 
Posts: n/a
Default when to modify..

Either Im tired or the documentation is confusing,
when do I need to modify pg_hba.conf
vs just doing a
createuser
thanks

lori

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-10-2008, 12:49 AM
Joshua D. Drake
 
Posts: n/a
Default Re: when to modify..

Lori wrote:
> Either Im tired or the documentation is confusing,
> when do I need to modify pg_hba.conf
> vs just doing a
> createuser
> thanks


Well that entirely depends but in general if the user is connecting
to the same database from the same network or machine that others users
already use you only need to create user.

However if the user is on a different network and you haven't allowed
access from that network you may need to modify the pg_hba.conf

Sincerely,

Joshua D. Drake
Command Prompt, Inc.


>
> lori
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)



---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-10-2008, 12:49 AM
Chris Travers
 
Posts: n/a
Default Re: when to modify..

Lori wrote:

> Either Im tired or the documentation is confusing,
> when do I need to modify pg_hba.conf
> vs just doing a
> createuser
> thanks


create user creates a database user account.

pg_hba.conf provides a set of access permissions regarding where and how
users and/or computers can connect to the database.

You MUST have both permission in the pg_hba.conf AND a valid user
account to log in.

Does that make sense?

Best Wishes,
Chris Travers
Metatron Technology Consulting

>
> lori
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>
>



---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-10-2008, 12:49 AM
Lori
 
Posts: n/a
Default Re: when to modify..

thank you ,
this makes sense.
lori
Joshua D. Drake wrote:

> Lori wrote:
>
>> Either Im tired or the documentation is confusing,
>> when do I need to modify pg_hba.conf
>> vs just doing a
>> createuser
>> thanks

>
>
> Well that entirely depends but in general if the user is connecting
> to the same database from the same network or machine that others
> users already use you only need to create user.
>
> However if the user is on a different network and you haven't allowed
> access from that network you may need to modify the pg_hba.conf
>
> Sincerely,
>
> Joshua D. Drake
> Command Prompt, Inc.
>
>
>>
>> lori
>>
>> ---------------------------(end of broadcast)---------------------------
>> TIP 2: you can get off all lists at once with the unregister command
>> (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster




---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:15 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com