RE: sunmanagers Digest, Vol 12, Issue 29

From: Prashant Zanwar (prashant.zanwar@india.birlasoft.com)
Date: Fri Mar 12 2004 - 04:56:37 EST


Message: 5
Date: Thu, 11 Mar 2004 15:59:35 +0000
From: trevor.mclachlan@richemont.com
Subject: open ports
To: sunmanagers@sunmanagers.org
Message-ID: <OFAB527B2D.C481AD7F-ON80256E54.0057C530@richemont.com>
Content-Type: text/plain; charset=us-ascii

Hi All,

Can't find where to do this ....

How do you find out what ports are open on a solaris server ?

How do you shut the ports down you don't want open ? What service needs
restarting after doing this ?

Thanks in advance
Trev
===================================================================
Hi,

This can be acheived through netstat - Check for listening/established
ports.
Also you can use third party "lsof -p" to find open ports by applications.
and ports can be shut down by removing entries in /etc/services &
/etc/inetd.conf and restarting the /etc/init.d/inetsvc (inetd service)..
Summarize for whatever action you take..

Hope this helps..

Thanks and regards
Prashant & Venkat

Disclaimer: 'This email and any files transmitted with it are confidential
and intended solely for the use of the individual or entity to whom they are
addressed. If you have received this email in error please notify the system
manager. Please note that any views or opinions presented in this email are
solely those of the author and do not necessarily represent those of the
company. Finally, the recipient should check this email and any attachments
for the presence of viruses. The company accepts no liability for any damage
caused by any virus transmitted by this email.'
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:28:15 EDT