All these services are spawned from 1 daemon - inetd.
If you dont want any of them (this means you cant get
on your computer from the internet but you can still
get on the internet from your machine) you can disable
inetd completely.
/etc/rc.d/ holds directorys for all runlevels - inetd
is started from here. Simples way to disable inetd
would be:
chkconfig --del inetd

If you do want to use certain services (ftp but not
telnet for instance) you have to edit the inetd
configuration file and disable the services you dont
want one by one.
vi /etc/inetd.conf
and then comment out all services you dont want.
After that you have to send a kill -HUP to the inetd
daemon.
ps aux | grep inet -> look at the process id..
kill -HUP <pid>

J.


  Unix IS user friendly. It's just selective about who its friends are.

 10:00am  up 14 day(s),  9:21,  2 users,  load average: 0.01, 0.01, 0.01

On Sat, 19 Aug 2000, Zlatko wrote:

> Can someone please tell me how to close open ports/services on LInux
> RH 6.2:
> I wan to know how can I prevent services like ftp, telnet, finger, cmd,
> ASR to start automaticly every time the system boots up?
> Which is the configuration file. I had intrusion recently.
> 
> Thank you.
> 
> 
> Zlatko.
> 
> 
> 
> 
> _______________________________________________
> 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