|
|
Lock and unlock a Mac using Bluetooth detection
thanks to both of you, that works perfectly! I think it requires setting Access Control in Keychain Access to allow access to it by proximity. I currently have access allowed for Proximity, Keychain Scripting and Applescript Editor but think I've ended up with so many permissions because I tested the script out in the editor. Edited on Jan 04, '10 08:56:34AM by puzzlebobble
Lock and unlock a Mac using Bluetooth detection
I'd assume you need Keychain Scripting access since the Proximity applescript is telling Keychain Scripting to get the PW - Keychain Scripting is the one actually making the request for it. The permission granted to Proximity is probably a permission for Keychain Scripting to pass the PW back to Proximity. Of course I could be completely wrong on all of this - I just like to make guesses at how computers work and revise them as necessary - life's all about trial and error!
Lock and unlock a Mac using Bluetooth detection
sounds sensible. It asked my permission for both when I tested the script in Proximity. Pity I can't remember which order it asked. I've turned off access for the applescript editor and it still works.
Lock and unlock a Mac using Bluetooth detection
It is nice to know that the app that calls Keychain Scripting also requires permission, because when I fooled with Keychain Scripting once before and allowed it to access my PW, I was worried that I might be allowing ANY applescript to access my PW via Keychain Scripting.
Lock and unlock a Mac using Bluetooth detection
do you happen to know if it is possible to pass a password from the keychain into terminal. I was hoping to be able execute an applescript which changed the HD spindown time when I changed location. I can open terminal and set the command:
Lock and unlock a Mac using Bluetooth detection
I think you want something like this:
(I think that's the correct syntax)
This way you do not need to say sudo in your script; all commands in the script will be run with full admin priveleges.
Lock and unlock a Mac using Bluetooth detection
cool, I must have been typing at the same time as you. I'll give that way a go. thanks!
Lock and unlock a Mac using Bluetooth detection
think I got it:
Lock and unlock a Mac using Bluetooth detection
Cool. I don't think you need "sudo", as the "with administrator privileges" gives the script the same rights as sudo. I read here that using both can create some kind of security hole, though I'm not sure how and the article doesn't explain. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|