|
|
Store the passwords in the Keychain
That really doesn't add much security. Why not store these passwords in the Keychain and access them through Keychain scripting?
Store the passwords in the Keychain
Said, done.
Store the passwords in the Keychain
I have now developed a variant where you can name the script either "Switch to username" or "Log out to username". If you choose "Log out to", then the current user is logged out (gracefully) after the switch (does not work of course if programs cancel the logout". One question: To log out, I use a do shell script command to open another applescript which logs the user out after about 10 seconds (after the switch has occured). There must be a more elegant solution to this, at the moment I have to keep a separate aplication called "Log Out", which does the logout. Any ideas to contain this into one Script file? The problem is that if you use e.g. osascript (even with &) then the logout is executed before the script can continue to the user switch section. The Script
The logout script
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks 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.14 seconds |
|