Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Im not sure if this is the right place for this kind of question, but here it goes anyways...

I installed a program a few months ago, it had a startup option that I did install. Later, I decided to remove the program, but it seems to have left the startup script or item even after I uninstalled it.... and its trying to start every few seconds.

How can I remove this item?

Here is it from the console


$ com.apple.launchd[1] (com.jft.PdaNetMac[24476]): Exited with exit code: 1
$ com.apple.launchd[1] (com.jft.PdaNetMac): Throttling respawn: Will start in 10 second
share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

Oh dear, that one turns out to be evil.

$ sudo launchctl unload /System/Library/LaunchDaemons/com.jft.PdaNetMac.plist
$ sudo rm /System/Library/LaunchDaemons/com.jft.PdaNetMac.plist

The evil part is they have no business putting it in /System/Library/LaunchDaemons, which is reserved for services provided with OSX; it should have been in /Library/LaunchDaemons.

share|improve this answer
    
Thanks for the quick response! but the first command is unsuccessful... <pre><code> petros$ sudo launchctl unload -w com.jft.PdaNetMac launchctl: Couldn't stat("com.jft.PdaNetMac"): No such file or directory nothing found to unload </code></pre> –  Peter Mar 5 '11 at 6:59
    
Also... what does you mean by evil? Is it doing something bad? –  Peter Mar 5 '11 at 7:01
    
Sorry, I switched gears somewhere in there; you have to use the same path that is then rmed. And the "evil" is that third party applications are not supposed to touch anything under /System/Library directly, because it belongs specifically to the OSX installation and a system update may modify or remove anything put there by someone else without warning. –  geekosaur Mar 5 '11 at 7:08
    
Thanks for the explanation of their evilness... ;) I cant find the files in finder though. What else can I do to find these? –  Peter Mar 6 '11 at 1:17
    
Interesting. That's all I found from my local PDANet installation. You cound run "sudo find /System/Library /Library -name com.jft.*" in a Terminal window to see if it's somewhere else on yours. –  geekosaur Mar 7 '11 at 2:18
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.