LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   mystery process (https://www.linuxquestions.org/questions/linux-security-4/mystery-process-115248/)

sopiaz57 11-12-2003 11:50 AM

mystery process
 
I have a perl script that is running on every bootup, It's not in my /etc/rc.d/rc.local startup script, where else could it be, im tired of killing it every boot

thanx

druuna 11-12-2003 12:00 PM

Use which, locate or find to find it.

which <nameperlscript> Only works if the script is to be found in $PATH
locate <nameperlscript> Locate must be installed and updatedb should run regularly
find / -name "<nameperlscript>" -print

sopiaz57 11-12-2003 12:29 PM

are there any other places where a startup file could be loaded, besides local.rc

druuna 11-12-2003 12:36 PM

I don't know how redhat set up the init process, but there could be several places.

In /etc/init.d (or /etc/rc.d/init.d) are a lot of 'init' scripts. The pearl script you talk about could be started from there, or be imbedded in any of the other scripts in init.d.

The script itself will probably be located somewhere else.

You did not mention what the script does, it might be a script that is needed. So be sure to know what it is used for before you deactivate it.


All times are GMT -5. The time now is 07:39 PM.