larry a price wrote:

> I have a program (postgres) that I want to start in the background
> whenever the box goes to a runlevel 2 or higher
> what I want to know is if I put the following in /etc/init.d:
> 
>       su postgres
>       nohup postmaster -i >pglog 2>&1 &
>       exit
> 
> will that create a huge gaping security hole that i'm not aware of ,
> and if so what don't i know and where would i look to find out?

I'm setting up PostgreSQL on my box right now.  I just noticed that
you can install postmaster in non-networked mode.  If you remove the
"-i" flag, then it doesn't listen to a TCP socket.

That will only work, of course, if your clients are running on the
same host as the database.

Just a thought...

-- 
                                        K<bob>
[EMAIL PROTECTED], http://www.jogger-egg.com/

Reply via email to