From: | Lamar Owen <lamar(dot)owen(at)wgcr(dot)org> |
---|---|
To: | Lincoln Yeoh <lylyeoh(at)mecomb(dot)com>, Andrew Sullivan <sullivana(at)bpl(dot)on(dot)ca>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Len Morgan <len-morgan(at)crcom(dot)net>, pgsql-general(at)hub(dot)org |
Subject: | Re: initdb and "exit_nicely"... |
Date: | 2000-05-24 02:27:54 |
Message-ID: | 00052322310800.00745@lorc.wgcr.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Tue, 23 May 2000, Lincoln Yeoh wrote:
> At 11:35 AM 18-05-2000 -0400, Andrew Sullivan wrote:
> >On Thu, May 18, 2000 at 11:05:58AM -0400, Tom Lane wrote:
> >> "Len Morgan" <len-morgan(at)crcom(dot)net> writes:
> >> > RedHat based rpm installations create the postgres superuser account as
> >> > part of the process and set the home directory for this user to PG_DATA.
> >> To be blunt, that's *incredibly* brain dead.
> >Does Red Hat actually make the _data_ directory the home? Debian avoids
> >this by making /var/lib/postgres the home, and data/ under that the PGDATA
> >directory. It sure doesn't seem a good idea to be using PGDATA as a home
> >directory.
> I dunno, AFAIK it didn't seem to do such a thing. If it did, it should be
> changed- very dangerous. Files may be uploaded or written to unfortunate
> places.
PostgreSQL 7.0 RPMs place home for postgres to be /var/lib/pgsql, and PGDATA is
/var/lib/pgsql/data. I just _look_ stupid. :-) The postgres user's home was
changed for 7.0 just exactly because of the bad choice of home being PGDATA.
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11
From | Date | Subject | |
---|---|---|---|
Next Message | Lamar Owen | 2000-05-24 02:48:38 | Re: initdb and "exit_nicely"... |
Previous Message | Lincoln Yeoh | 2000-05-24 02:07:08 | Re: PostgreSQL cleartext passwords |