[NTLUG:Discuss] Basic Linux Server Questions

ntlug at thorshammer.org ntlug at thorshammer.org
Wed Nov 22 16:48:40 CST 2006


> I ran the lsof -i | grep LISTEN
> 
> and most of what showed up was associated with the apache server.  There 
> were three which were not.  One was Exim4 running smtp in LISTEN, one 
> was inetd, and one was rpc.statd.  I am not going to be ruuning e-mail 
> offthis box, nor receiving it.  What do I need to do to turn these 
> services off?  Thanks again, Dennis

	What IP was exim bound to? If it was bound to 127.0.0.1 (or localhost) then it shouldn't be that bad. If was bound to 0.0.0.0 or your public IP then you can have it rebind to localhost. Some scripts, and maybe even apache itself, will need to send email out. I beleive they do this via the local MTA. If you bind exim to the loopback address, 127.0.0.1, then no one from the outside will be able to exploit it, but your local apps will be able to use mail.

	Nuke inetd and rpc.statd unless you know specifically that you will use them (apache shouldn't unless you are running something the does).

	I agree with the others about using scp as a means for your students to transfer files to the server. You can even use WinSCP for Win32.

Robert



More information about the Discuss mailing list