Toggling Password for Screensaver and the time when this setting gets valid
hi,
i have a small snippet which checks the setting for the password of the screensaver and toggles it
If i check the setting in sys-prefs my code seems to work
-- check setting
set output to do shell script "defaults -currentHost read com.apple.screensaver askForPassword -int"
if output is "0" then
do shell script "defaults -currentHost write com.apple.screensaver askForPassword -int 1"
-- other case
else
do shell script "defaults -currentHost write com.apple.screensaver askForPassword -int 0"
end if
But if i start the screensaver it starts getting strange. Sometimes the setting is set and
My feeling tells me it could be related with the time it needs that the password-check checks triggered AFTER the screensaver is started.
IIRC there is a time-value it needs after starting the screensaver (if the pw-set is enabled) before it gets active to prevent the user from a direct pw-dialog. May that cause my strange problem.
Or is my change just entirely ignored ?
Or am i doing something wrong with my code itself ?
Any help is appreciated.
Best regards
fidel
Message was edited by: fidel-castro
hi,
thanks for your reply.
Great so see someone realized similar problems.
Regarding your code i dislike that it results in a password-dialog while executing.
The setting itself in System-Preferences is changeable in 10.5 without being administrator or even entering any user credentials.
Better then nothing, but somehow not perfect.
In addition i would like to understand why my attempt above does change the settings visualized in System-Preferences but doenst does what i expect =)
Lets see if someone else has additional ideas - i keep your snippet in mind as i can learn from it anyways =)
Best regards
fidel
edit: well a second look always helps - your idea needs admin privileges as you configure all security settings not only the screensaver pw option.
gonna do some tests with a reduced setup.
thanks again
Message was edited by: fidel-castro
Similar Messages
-
I see that many people have already complained about Itunes' backup encryption. I NEVER set a password for it (and the corresponding option is still unticked, as always) yet it asked me for a pwd when I upgraded my 3GS to the 5.0 OS. How to solve this?
To prevent others from reading your mail, don't give them access to your account. If others need to use your computer for some reason, set up personal accounts, or a guest account, and switch to it before allowing them access. This is the simplest, and most effective, method.
Email message files can be read as plain text in TextEdit or any word processor.
To protect your email messages from being viewed by others while in your account, you would have to lock the folder, putting it into an encrypted disk image that required a password to be opened and mounted. You would have to double-click on the image and give your password to mount it before launching Mail then unmount it as soon as you're done. My guess is that you could replace the ~/Library/Mail folder with an alias pointing to the folder on the disk image.
It may work, but it seems like a lot of unnecessary hassle. -
I check the box to "Remember the password for sites" and the check keeps disappearing.
I check the box to "Remember the password for sites" and the check keeps disappearing. Each time I open the Security page in Options the check box is clear. I'd like it to stay checked.
See:
* http://kb.mozillazine.org/Preferences_not_saved
Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
* Don't make any changes on the Safe mode start window.
* https://support.mozilla.com/kb/Safe+Mode
* https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes -
I forgot my sign in password for Mac and I reset it but I get this msg ' A keychain cannot be found to store' everything from safari to iCloud or any email account
Problem has not been resolved, it's still there and even worse now
-
When putting an event and the time on my iPhone calendar, when it goes to iCloud to my laptop or iPad calendar the times are different. How can I make the time the same?
Welcome to the Apple Community.
Is the calendar you are adding events to on the phone an iCloud calendar. -
Also I get message that I cannot connect to itunes store. First Apple product maybe my lasy.
This is an iPad user to user forum. Apple doesn't read or respond. Doesn't do any good to rant.
iOS: Unable to send or receive email
http://support.apple.com/kb/TS3899
Can’t Send Emails on iPad – Troubleshooting Steps
http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
Setting up and troubleshooting Mail
http://www.apple.com/support/ipad/assistant/mail/
Setting Up An eMail Account
http://support.apple.com/kb/ht4810
iPad Mail
http://www.apple.com/support/ipad/mail/
Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts Tap on the Account, then on the red button that says Remove Account.
The Complete Guide to Using the iTunes Store
http://www.ilounge.com/index.php/articles/comments/the-complete-guide-to-using-t he-itunes-store/
Can't connect to the iTunes Store
http://support.apple.com/kb/TS1368
iTunes: Advanced iTunes Store troubleshooting
http://support.apple.com/kb/TS3297
Best Fixes for ‘Cannot Connect to iTunes Store’ Errors
http://ipadinsight.com/ipad-tips-tricks/best-fixes-for-cannot-connect-to-itunes- store-errors/
Try this first - Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
This works for some users. Not sure why.
Go to Settings>General>Date and Time> Set Automatically>Off. Set the date ahead by about a year.Then see if you can connect to the store.
Cheers, Tom -
hi, i purchased 4S at paris (sfr) and got back to india without deblocking the phone. how to activate the phone in india ? Till date it has not been possible. Need assistance
thanks
unnikrishnanThat's because it's carrier locked. Only the carrier it's locked to can authorize unlocking it. Contact them.
Why did you buy a carrier locked phone? -
I am updating iphoto 9.1 to 9.3 and every time when I clicked for update aps store asked to open it in the account where you purchased. I am using the same account and its available in the purchased item of this account. But in my purchased item library it indicates that you update iPhoto. I am not sure which account the aps store asking. Can someone resolve this problem.
Contact App Store support. They're the folks who can help with Account issues.
Regards
TD -
I have an Ipad My apple ID and password works for Ibooks and Icloud but when I try to get into the app store it doesn't show my entire email address on the account. When I try to get into the app store it tells me my password is incorrect. How can I correct this? I have been emailing support but so far they have been no help
Open the App Store app, go to the Featured pane, swipe to the bottom, tap the Apple ID and sign out. Tap again and sign in with the Apple ID of your choosing.
-
my 3 year-old macbook pro is very slow. I have run disk utility and virus scan with no improvement. The "beach ball" will spin for minutes at a time when opening, closing or changing windows. Apple Store looked at it a few months ago with no help. What can I do?
Under CPU: 3.5% user; 5% system; 91% idle; 441 threads; 90 processes.
Under System: out of 2GB - 54.7MB free; 530MB wired; 603MB active; 862MB inactive; 1.95GB used.
Is too much of the system memory tied up? If so, what can I do to free some up? -
I use Outlook for my email on the Safari web browser, and about 90% of the time when I want to attach a pdf or jpg file it fails and about 50% of the time when I want to send a standard text massage it will also fail and the email massage crashes. The only way I can get my Outlook to work is if I switch to Firefox web browser. I would rather not switch to a new web browser if I don't have to.
It seems like what ever the problem is that its related the Safari web browser, because it works fine on the Firefox web browser.
I think its some kind of plug-in failure because it giving me a LOC ERROR:
LOC ERROR: Unable to locate localized string for resource ID 5007.
How can I fix this Plug-in?
And, yes my softwer is conpletly updated…That's an Outlook issue. You'll probably get better responses posting on the Office for Mac forums.
-
My MacBook Pro 13" won't turn on 90% of the time I try to get it running, and when it does turn on, even on a charger, it shuts down if I stop using it for 2+ seconds and it won't turn back on. Should I replace the battery? It doesn't hold a charge either...
EmadJamal,
the battery won’t melt because of long connection to the AC charger, although that has the potential of reducing the battery’s life.
Do you have access to a second 60 W AC charger to test with your MacBook Pro, or access to a second 13-inch MacBook Pro against which your AC charger could be tested? -
I changed my AppleID and password on the Apple web site but when I try to sign in on my touch it asks me to enter the password for my old Apple ID, how do i get ICloud to recognize my new ID?
Hi appledapple1964,
After changing your Apple ID information, you may need to manually sign out and sign back in on your devices so that they may recognize the update. You may find the following article helpful:
iOS: Changing the signed-in iTunes Store Apple ID account
http://support.apple.com/kb/ht1311
Regards,
- Brenden -
my ipod & itunes are fully up-to-date with 4.2.1 for ipod and the itunes 11.0.1 and every app (ex facebook & ice cream jump says i need 4.3 version but when i click all updates say its all up to date. I have tryed restoring it 4 times to factory as well. Please help I have set-up over 10 ipods and differents generations and have never had this issue like this, I even have all ratings ristriction unchecked and payment info in itunes so i need help please
but i could download on others ipods in same gen, facebook and ice cream tower, everything i look up and try install always says that for apps so your saying that i can not ever download any apps to this ipod ever againÉ
-
After change to Mavericks my Mac become too slow e I can't use it because stays asking passwords for "talagent" and "messages agent" as icloud keys. I got changed the icloud password many times and still doesn't work. I can't open any program.
Back up all data.
Launch the Keychain Access application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Keychain Access in the icon grid.
Select the login keychain from the list on the left side of the Keychain Access window. If your default keychain has a different name, select that.
If the lock icon in the top left corner of the window shows that the keychain is locked, click to unlock it. You'll be prompted for the keychain password, which is the same as your login password, unless you've changed it.
Right-click or control-click the login entry in the list. From the menu that pops up, select Change Settings for Keychain "login". In the sheet that opens, uncheck both boxes, if not already unchecked.
From the menu bar, select
Keychain Access ▹ Preferences ▹ First Aid
If the box marked Keep login keychain unlocked is not checked, check it.
Select
Keychain Access ▹ Keychain First Aid
from the menu bar and repair the keychain. Quit Keychain Access.
Maybe you are looking for
-
I have a need to use the client/server forms6i to access a Check encoder machine made by Maverick International. They provide a dll for using their code. Has anyone implemented this successfully anywhere using Oracle Forms 4.5 or 6i? If not does anyo
-
Problem with the "lenovo Rescue And Recovery" system. (lenovo 3000 N500).
hi! yesterday i ran Kaspersky virus scan tool and it detect file named "tvtfilter.sys" as suspicious file and thefore delet it. today when i was restart my laptop, i got error message on startup that say: Microsoft Visual C++ Runtime Library Runtime
-
ISight / DV-PAL project problems
I'm trying to export an iMovie project I've made back to a video camera, but it's coming up with the message that because it's an iSight project, it can't be done. I didn't select iSight as an option when I created the project, and haven't used iSigh
-
This isn't so much a problem as something that confuses me. A while ago, I noticed that whenever I got into my System Preferences, it says that it's running in 32-bit mode. Now I went into Applications/System Preferences.app and used the Get Info com
-
Secure ACS - Administration Control per UDV/VSA
Hello, I have Secure acs 4.0 installed with a external UDVs / VSA group for nortel device. I have a number of administrators running on my network and I want to assign a specific administrator control over a different UDV/VSA set regardless of users/