Re: freebsd sample startup script doesn't work - Mailing list pgsql-bugs

From Vivek Khera
Subject Re: freebsd sample startup script doesn't work
Date
Msg-id 15089.34084.208877.130871@onceler.kciLink.com
Whole thread Raw
In response to Re: freebsd sample startup script doesn't work  (Bruce Momjian <pgman@candle.pha.pa.us>)
List 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/

pgsql-bugs by date:

Previous
From: Vivek Khera
Date:
Subject: Re: freebsd sample startup script doesn't work
Next
From: Vivek Khera
Date:
Subject: Re: freebsd sample startup script doesn't work