Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I'm trying to secure my box and so far i've shut down ports in /etc/rc.inet1.conf that i don't use. When i run nmap it says port 22 ssh is open. How do i close this port other than a firewall rule? I looked in the /etc/rc.d directory, but can't figure out how you shut it off. I googled and read that it is to be disabled in /etc/rc.config, but i don't have an rc.config. I have a rc.inetd1.conf where i commented out the other ports i have no use for, but ssh isn't in there. There is a rc.sshd, but i don't see an option to disable it there either.
Do you have a service configuration utility that comes with Slackware? (I'm not familiar with it.) It would be in the main menu under configuration/system settings or the like.
Or check /etc/services (if you have that file). Do a search for ssh and just put a # before that line. Reboot and that should do it. If you don't have that file, just look in /etc for something like serv*