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* portmap portmap.links # cat portmap.links /etc/rc0.d/S10portmap /etc/rc6.d/S10portmap /etc/rcS.d/S41portmap On Mon, Nov 13, 2000 at 15:21, David Wright wrote: > Quoting Sebastiaan ([EMAIL PROTECTED]): > > > - 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). > > Cheers, > > -- > Email: [EMAIL PROTECTED] 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 [EMAIL PROTECTED] < /dev/null > -- geek by nature, Linux by choice L I N U X .~. The Choice /V\ http://www.ourmanpann.com/linux/ of a GNU /( )\ Generation ^^-^^