Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got an obscure cryptographic USB token that works pretty good with Lion except I need to run...

sudo /usr/sbin/pcscd -adf

...each time I want to use it because it doesn't load automatically.

How to make it load at startup?

share|improve this question
See also Automatically Load LaunchDaemon? – Harald Hanche-Olsen Feb 8 '12 at 13:59
Also relative Automatically delete a folder daily – nuc Feb 14 '12 at 13:10

The problem happens, because securityd (which is supposed to load pcscd) does not start it when you insert your card. Try editing /System/Library/LaunchDaemons/ and add -s aggressive switch.

The section should look like this:


and then reboot.

This should set securityd in aggressive card detection mode. If there is a -s off or anything like this, probably just removing it should solve your problem.

Hope this helps.

share|improve this answer

add the symbol & in the end of the line

share|improve this answer
Welcome to Ask Different! Can you expand on this answer a bit? What will this change and how will it help? Please take a look at the FAQs for more info. Thanks. – Nathan Greenstein Apr 13 '12 at 15:02
@Georgi, I don't think adding a & will ensure that the daemon gets started automatically after a reboot... – patrix Apr 14 '12 at 9:51
This is totally incorrect. The & symbol sends a command to the background and doesn't in any way change it so that it gets run again the next time the system is starting jobs. – bmike Nov 20 '12 at 18:35

Your Answer


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.