Re: Check the status of the some services

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2004-04-07 at 10:08, truejack@xxxxxxxxxxxxx wrote:
> 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
> 
>  
> 
> 

or for your whole network...

assuming 192.168.0.0

nmap -sT -vv -O 192.168.0.1-254 > network-scan.txt


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux