Re: Removing portmapper, Re: firewalling
I think the cleanest way to do this is
# cp -p /etc/init.d/portmap /root/
# update-rc.d portmap remove
and then keep track of the links (which update-rc.d will tell you about)
in case you need to put it back.
# ls portmap*
# cat portmap.links
On Mon, Nov 13, 2000 at 15:21, David Wright wrote:
> Quoting Sebastiaan (firstname.lastname@example.org):
> > - I did a nmap localhost and discovered that unwanted ports 'sunrpc' (111)
> > and 'printer' (515) are open. I have not found these in inetd.conf and I
> > do not know how to turn these off. I have already tried removing sunrpc.o
> > from the modules, but the computer would not do that. What is this port
> > used for?
> To turn off portmapper (111) in potato (where it's not a separate
> package), you could try:
> # /etc/init.d/portmap stop
> # mv -i /etc/init.d/portmap /etc/init.d/portmap-hidden
> (or remove its execute permission).
> Email: email@example.com Tel: +44 1908 653 739 Fax: +44 1908 655 151
> Snail: David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
> Disclaimer: These addresses are only for reaching me, and do not signify
> official stationery. Views expressed here are either my own or plagiarised.
> Unsubscribe? mail -s unsubscribe firstname.lastname@example.org < /dev/null
geek by nature, Linux by choice L I N U X .~.
The Choice /V\
http://www.ourmanpann.com/linux/ of a GNU /( )\