I have been put on this weird Sarbans-Oaxley commitee for our company.
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.
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).
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.
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.
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.
Thanks in advance
-- <
_______________________________________________
IndiaInfo Mail - the free e-mail service with a difference!
www.indiainfo.com
Check out our value-added Premium features, such as an extra 20MB for mail storage, POP3, e-mail forwarding, and ads-free mailboxes!
-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list