[SunHELP] Shutting down ports...
sunhelp at sunhelp.org
sunhelp at sunhelp.org
Thu Feb 7 12:09:13 CST 2002
/etc/services defines what port is going to be in use for what service.
/etc/inetd.conf tells inetd daemon what service to start with which
parameters.
Comment out what you do not need from these 2 files, then force inetd to
reread them using HUP signal or just reboot.
Ivan
----- Original Message -----
From: "Jeff Feller" <jeff at bitz.net>
To: <sunhelp at sunhelp.org>
Sent: Thursday, February 07, 2002 12:49 PM
Subject: [SunHELP] Shutting down ports...
> Hello,
>
> I've asked this before and I think the answer was to remove files or
rename
> files in /etc/rc* or something.. but, I have a bunch of ports open on my
> Solaris 8 machine and I'd like to close them.
>
> Port State Service
> 21/tcp open ftp
> 22/tcp open ssh
> 25/tcp open smtp
> 80/tcp open http
> 110/tcp open pop-3
> 111/tcp open sunrpc
> 4045/tcp open lockd
> 6000/tcp open X11
> 32775/tcp open sometimes-rpc13
> 32776/tcp open sometimes-rpc15
> 32777/tcp open sometimes-rpc17
> 32778/tcp open sometimes-rpc19
>
> All I need is ftp, ssh, smtp, httpd, and pop3 ... What's the easiest/best
way
> to do it? Thanks.
>
> Jeff Feller
> _______________________________________________
> SunHELP maillist - SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
More information about the SunHELP
mailing list