What I did on my vacation from reality

Home About RTL8187B Laptop Cam Quotes Login

June 18, 2007

Fun with USB

2:47 pm — Code, Geek

So, after playing a bit around with D-Bus, I wrote a little program to monitor insertions and removals of my USB keydrive (the one with Puppy on it). When it’s removed, it shells out to a bash script that forgets all the SSH passphrases in the agent and kicks the screensaver on, and reprompts me for my passphrase when it’s inserted again.

Code is coming here.




RSS feed | Trackback URI

6 Comments»

No comments yet.

Name (required)
E-mail (required - never shown publicly)
URI
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.