Deleting rc.local
Hi,
My Oracle Unbreakable Linux was restarted unexpectedly several times so i found that due to some virus attacks (SFEWFESFS) it gets restarted so i just delete this file but after some time it comes again so i google it and found link http://stackoverflow.com/questions/2...tarting-automa On this forum a guy (Isospin) suggested to delete rc.local Can i delete rc.local is it safe for os? |
It would be better to rename it instead, but delete it, just rename it, if it boots properly after that, open up rc.local and see what was added, just remove it.
rename the file back to its original name and you should be okay. |
i just rename rc.local and reboot system but rc.local not created
|
1 Attachment(s)
how can i delete s99local pointing to rc.local
|
Just remove the S99local link.
There is no need to remove the rc.local file, or even renaming it. The system init starts scripts as specified by S99local link- Being "S" causes the link to be run at boot time, the "99" is the last number in the sequence, so it is run last. There can even be other S99 links there - they will be run in alphabetical order; so if one doesn't exist - it doesn't get used. The reason to not delete the rc.local file is that updates to the system may recreate it... and the file may or may not have the header specifying how the chkconfig command is used to create the link (it can also delete the link with "chkconfig local off") |
thanks jpollard for you answer.
so do i just need to remove S99local link from all where it is pointing towards rc.local ? and how can i remove the link ? |
3 Attachment(s)
Actually my mission is to
1) Stop process names as "sfewfesfs" its running 2) Delete or rename rc.local to remove to run sfewfesfs at boot time 3) Remove Link S99local pointing towards rc.local or Delete S99local because it runs rc.local All screen shots are attached |
chkconfig local off
rm S99local Read some documentation on administering Oracle Unbreakable Linux systems. You paid for it. |
All times are GMT -5. The time now is 12:26 PM. |