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

Re: Stopping Portmap



On Wed, Jul 12, 2000 at 12:41:24AM -0700, Chris Cameron wrote:
> I'm hoping that someone will be able to help me stop the portmapping
> services on my computer. I was going through the Security Focus'
> Securing Linux article, and it's reference to how to stop the
> portmapping service was all for Slackware.

1. run /etc/init.d/portmapper stop
2. put "exit 0" (without quotes) as the first uncommented line in
/etc/init.d/portmapper
3. If apt/dselect/dpkg every ask you to update that script, keep the one
you modified (the new one will be /etc/init.d/portmapper.dpkg-dist)

Can't say I run any applications that use RPC.  If you do, you'll need
to run portmapper.  You can also restrict portmap access in
/etc/hosts.allow and /etc/hosts.deny (see man portmap, hosts_allow,
hosts_access) since it should be "protected" with the tcp_wrapper
library.

-- 
According to MegaHAL:
    The emu is a mass of incandescent gas, a gigantic nuclear furnace.



Reply to: