> On Sat, Aug 19, 2000 at 05:53:26PM +1000, 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?
>
> These services usually run off inetd. To disable, comment the
> corresponding entries in /etc/inetd.conf then run:
>
> # killall -HUP syslogd
>
syslog? this will do nothing regarding inetd , maybe you meant inetd ?
I actually prefer doing this one the hard way, like this
kill -HUP `cat /var/run/inetd.pid`
:)
> If you want to totally disable inetd, run:
>
> # chkconfig --del inetd
>
> You can also view a list of programs that are run at startup
> with:
>
> # chkconfig --list
>
> BTW, the numbers 0-6 from the output of chkconfig are runlevels
> and simply says which programs are run for that particular
> runlevel. To know your current runlevel, run:
>
> # runlevel # current one is on the right
>
> To know which ports you have open:
>
> # netstat -tln # TCP
> # netstat -uln # UDP
>
> To know which particular program listens on a port:
>
> # lsof -i :23 # who listens on telnet port?
>
> > Which is the configuration file. I had intrusion recently.
>
> There's a possibility that the intruder has installed some trojan
> on your system which could e.g., allow him remote access again in
> the future, wipe your system at some future date, etc. In a
> security standpoint, you can't trust your system anymore after an
> intrusion.
>
> Hopefully, you can maybe run "rpm -Va" to check the integrity of
> your files against the rpm database. Though I doubt if you can
> also trust the rpm database anymore.
>
> --
> .--. Michael J. Maravillo office://+63.2.894.3592/
> ( () ) Q Linux Solutions, Inc. http://www.q-linux.com/
> `--\\ Open Source Consultancy / Support / Training / Software Dev't.
>
>
>
> _______________________________________________
> 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