0

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?

3

2 Answers 2

1

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/com.apple.securityd.plist and add -s aggressive switch.

The section should look like this:

<array>
  <string>/usr/sbin/securityd</string>
  <string>-i</string>
  <string>-s</string>
  <string>aggressive</string>
</array>

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.

-2

add the symbol & in the end of the line

3
  • 1
    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. Commented Apr 13, 2012 at 15:02
  • 1
    @Georgi, I don't think adding a & will ensure that the daemon gets started automatically after a reboot...
    – nohillside
    Commented Apr 14, 2012 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
    Commented Nov 20, 2012 at 18:35

You must log in to answer this question.

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