| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | "Brett W(dot) McCoy" <bmccoy(at)chapelperilous(dot)net> |
| Cc: | Uro Gruber <uros(at)sir-mag(dot)com>, pgsql-general(at)postgresql(dot)org |
| Subject: | Re: pg_hba.conf edit |
| Date: | 2001-01-17 04:28:28 |
| Message-ID: | 15794.979705708@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
"Brett W. McCoy" <bmccoy(at)chapelperilous(dot)net> writes:
> On Wed, 17 Jan 2001, Uro Gruber wrote:
>> I want to know how to edit this file. Because is only for reading. Is
>> there any program to edit this. For now i chmod it to 600
>> end edit with my editor.
> That's the way you are supposed to do it!
Check. Nothing fancy, just whip out your text editor...
> Just make sure you make it
> read-only after you are done.
You don't even have to do that. The file lives in a directory that
is supposed to be mode 700, ie, no access to anyone but the postgres
user; so it doesn't much matter what the protections are on pg_hba.conf
itself.
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Karl DeBisschop | 2001-01-17 04:30:31 | Re: MySQL file system |
| Previous Message | Bruce Momjian | 2001-01-17 04:20:34 | Re: MySQL file system |