[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: firewall



On Mon, Sep 10, 2001 at 05:24:15PM +0100, Tim Haynes wrote:
> Rishi L Khan <rishi@UDel.Edu> writes:
> 
> > If you're not using sunrpc or lpd, I would turn them off. The way I do it
> > is turn off the services (/etc/init.d/portmap stop; /etc/init.d/lpd stop)
> > and then edit /etc/init.d/lpd and /etc/init.d/portmap and add a line near
> > the top that says "exit 0" (w/o quotes) so that when you restart, they
> > don't come back.
> 
> It should be sufficient to do
>         update-rc.d -f portmap remove
>         update-rc.d -f lpd remove
>         update-rc.d -f bind remove

As an aside, I did this with proftpd, but when I upgrade the install
scripts restart it.  Is there a proper way way to deal with this?  Is
there some debian policy relating to it?

-- 
Adam Olsen, aka Rhamphoryncus



Reply to: