Quote:
Originally Posted by
Corona688
Could you explain what that's supposed to do? Reverse engineering that could take a good while.
Also, see
Useless Use of BAckticks
Yea i guess that would make it easier
TEMPFILE is a list of files that i made from running a Find command.
INSECCOM is a variable i make at the beginning of the script, basically a list of all the r services, rsh, remsh, rlogin, rdist, rsync, etc.
For each of these commands grep through each file in TEMPFILE
Do a Count
Echo findings to a Logfile
Copy the file, where we found the command w/ dir structure to DESTDIR (working directory).
Then i Tar it up | gzip
Done
Thanks for the tips on the backticks. As you might have noticed, im not a sysadmin.
But for some reason I got pegged for this, so guess i have to figure it out as I go.