Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I am using an iMac at work, and the IT security guys are raising issue with the Apple Push Notification Service (apsd) trying to bypass the proxy continually.

I would like to know how I can disable apsd from running.

share|improve this question
    
I know that apsd uses port 5223, so I was thinking I could just close that port, but not sure if this would work or if it would just assign another port to the service... –  novicePrgrmr May 24 '13 at 9:20

4 Answers 4

up vote 8 down vote accepted

I figured out that I needed to enter the following in the terminal:

sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.apsd.plist

I did this already, and it seemed to fix the issue, but would love to know if this is the advisable way to solve the problem.

========================================================

Also, in case you want to enable the process afterwards, you can use this:

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.apsd.plist

sources:

https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/launchctl.1.html

http://www.cyberciti.biz/faq/disabling-unnecessary-mac-osx-services/

share|improve this answer

As mentioned by Fabrice, Little Snitch is a means to solve this problem. It doesn't answer the OP's actual question (which is how to disable apsd from running), but it can solve the sort of problem, albeit in a bandaid way, that the OP has.

With LS in place it's one button click solution to never hear from apsd again...

share|improve this answer

sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.applepushserviced.plist

For 10.7.5 FYI. The service name is expanded.

share|improve this answer

Another solution would be to use Little Snitch and to block apsd from there.

share|improve this answer

We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.

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.