For any services you don't want running, just go into /etc/inetd.conf and
comment them out... i.e., put a pound sign (#) at the beginning of the
line they're in.  The next time you boot up, they won't be running.  Or
you could run (as root) 

kill -HUP pid

where pid is inetd's pid (gotten from the ps command).


hth,
kf


On Mon, 11 Sep 2000, Jonathan Wilson wrote:

= Howdy,
= 
= I'm working on secureing my server, one thing I"m doing (of course) is 
= shuting down unneeded services. So I noticed these, among the standard ones 
= like FTP (which we need):
= 
= bismuth:~ # nmap -sT my_server's_IP
= 
= 98      open        tcp       linuxconf
= 111     open        tcp       sunrpc
= 113     open        tcp       auth
= 515     open        tcp       printer
= 967     open        tcp       unknown
= 1024    open        tcp       unknown
= 
= 
= I do not want any of those running, if they aren't needed.
= 
= bismuth:~ # grep "1024" /etc/services
= #               1024/tcp   Reserved
= #               1024/udp   Reserved
=   there's no entry in /etc/services for port 967 - what is it?
= 
= I'm especially interested in shutting down sunrpc - I hear nothing but bad 
= things about RPC, at least as far as security goes. We're not using NFS, 
= nor NIS, or anything else that needs it (at least, not that I know of. Is 
= it used for anything else?)
= 
= Also, what' "auth" exactly, and why does linuxconf run as a server? Does it 
= have to?
= 
= Thanks,
=               JW
= 
= 
= 
= _______________________________________________
= Redhat-list mailing list
= [EMAIL PROTECTED]
= https://listman.redhat.com/mailman/listinfo/redhat-list
= 



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to