<P>I have been put on this weird Sarbans-Oaxley commitee for our company.</P>
<P>My manger has come up with a request, where I have to prepare a GOLD STANDARD machine and compare all the rest of our Linux boxes, whether they comply with this Gold Standard machine.</P>
<P>I am planning to write a shell script which gathers some detailed information about the hardware and system configuration (basically what the sysreport utility does).</P>
<P>One thing I could not figure out is how would get a report of the specific services and ports that are open on the System.</P>
<P>I want to see whether SSHD, FTP, TELNET, RSH, RLOGIN & TFTP are running on the system. If they are running, I want to know which port are they running on. </P>
<P>Can someone give me a snippet of code which does this. I am sort of a novice in Shell scripting and was unable to figure this out.</P>
<P>Thanks in advance</P>
<P> </P><BR>
-- 
<<p>_______________________________________________
<br>IndiaInfo Mail - the free e-mail service with a difference! 
<a target="_blank" href="http://www.indiainfo.com">www.indiainfo.com</a>
<br><font COLOR="#EF9F0F"><b>Check out our value-added Premium features, such as an extra 20MB for mail storage, POP3, e-mail forwarding, and ads-free mailboxes!</b></font>
</p>

Powered by Outblaze