Re: freebsd sample startup script doesn't work

Vivek Khera <khera@kcilink.com>

From: Vivek Khera <khera@kcilink.com>
To: pgsql-bugs@postgresql.org
Date: 2001-05-03T16:19:48Z
Lists: pgsql-bugs
>>>>> "BM" == Bruce Momjian <pgman@candle.pha.pa.us> writes:

BM> Got it.  I recommend changing 'su -l' to 'su -m' to preserve the
BM> environment.  How does that sound?

Just tried it and it works ok.  The only issue I can think of is if
root has some secret info in the environment, that it will now be
accessible to postgres... but then who puts secret info in their
environment?  ;-)

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.                Khera Communications, Inc.
Internet: khera@kciLink.com       Rockville, MD       +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/