1

I have a process that is most probably set to run by managed preferences on my account after I log in. However, I do no use it at all, so I wanted to know if there is a way to automatically kill the certain process after I log in and it starts.

2 Answers 2

2

I would write a script that kills the process, and attach it to my login 'hook' http://support.apple.com/kb/HT2420

0

If you don't want it to boot up at all, go to System Preferences, Users & Groups, , Logon Items, and then select the thing you do not want to start. Click the minus (-) button.

If you want it to start up and then get killed, make a script to do the following after startup. Things in <> you have to put info in.

killall --<Process Name>

For example, killall --Terminal

3
  • 2
    Small correction: kill requires a PID. killall takes a process name as argument.
    – jaume
    Feb 13, 2013 at 20:04
  • 1
    The third line in the man page for killall says: "killall -- kill a process by name." Additionally the OP said the process is "most probably set to run by managed preferences." If that is true then he would not be able to remove it from the logon items because it has been added there remotely by the network admin Feb 13, 2013 at 20:06
  • I'll edit to fix that.
    – danielcg
    Feb 14, 2013 at 1:29

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .