LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   stopping Daemons and symbolic links (https://www.linuxquestions.org/questions/linux-software-2/stopping-daemons-and-symbolic-links-470834/)

michshelly 08-04-2006 02:41 PM

stopping Daemons and symbolic links
 
Hi,

I am trying to stop the daemon S28autofs. I am hoping that by stopping this usb sticks won't be automatically mounted.

I have tried stopping this daemon by actually deleting it from /etc/rc.d/initd. and all the rc0.d through to rc6.d. I did try and stop it by typing typing /etc/rc.d/init.d/autofs stop but it didn't stop.

I thought that the init.d and all the rc0-5.d were linked.

I am obviously doing something wrong and would really appreciate someone's help on this matter, please.

I wan't to learn all of these commands and bash shell stuff and be comfortable with linux, so that's why I persist so much.

Thanks
michshelly

riscphree 08-05-2006 06:58 AM

I'm going to assume that "S28autofs" is the process???

If so, all you have to do is ps aux | grep S28autofs

That'll return the process ID and you can then kill it using the kill command. Hope that helps.

michshelly 08-05-2006 07:23 AM

Hello riscphree

Thanks for your reply. I deleted all the "S28autofs" files from rc0-6.d folders. :confused: Even though I've done this my usb stick still mounts all on it's own. What a laugh!



I'm working on something else now. I decided to give it a rest.
Thanks for your help.

Missmichshelly


All times are GMT -5. The time now is 10:22 PM.