Find Hidden Script

Joey Prestia joey at linuxamd.com
Mon May 12 14:30:42 UTC 2008


Andrew.Bridgeman at corusgroup.com wrote:
> 
> 
> I am currently trying to track down a script that is run on one of our
> redhat machines which was put in place by someone no longer in the company.
> The script basically runs a remove on a temp area but we now want to stop
> it doing this but unfortunately I cannot see it in any crons on the
> machine. I have looked at all the logical account for the crons to be
> running under but have had no luck. Does anyone know a good way of finding
> out who and where on the machine it is running from.
> 
> Regards
> 
> Andrew Bridgeman
> 
  Did you look in the system cron directories /etc/cron.daily
/etc/cron.hourly and those directories referred to in the system crontab 
  file some sysadmins will add scripts to cron by just putting them in 
the  system cron file in one of the directories that are pointed to by a 
run-parts command and forget about them.

-- 
Joey Prestia





More information about the redhat-list mailing list