Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
Thread: Extending Time for Passcode Lock
02-09-2010, 10:51 AM #1Extending Time for Passcode Lock
Hello. My 3GS is tied into my company's Exchange Server mail account and as a result I am required to have a passcode lock enabled on the phone. I really didn't mind at first, when I could set the passcode requirement to 1 hour. For some reason, it has now been changed to 15 minutes. In Settings|General, 15 minutes is the max length of time to set the Passcode requirement. Is there a way or an app, that will allow me to extend the time to 1 hour or so? Thanks.
02-09-2010, 11:20 AM #2
I had the same issue and hated the fact that my phone required a passcode when I don't want one. My phone is always with me so it was just another layer for me to get through to get to my phone. Before anyone says how it's not secure to not have a passcode, it's my choice.
So here's a workaround I found that removes the password requirement for my phone.
How to disable Exchange PIN requirement.
b. SSH into the phone as [ root ]
c. Edit the following file [ "/var/Managed Preferences/mobile/com.apple.springboard.plist" ]
d. Make the following change, setting of the key "minLength" to zero.
e. Now go into preferences and turn autolock off.
02-09-2010, 11:28 AM #3
Thanks. But, to be honest, I want the Passcode Lock to be on, I just want to be able to set it to one hour or longer. How do I do that.
02-09-2010, 11:34 AM #4
+1 on this request. There is also an app on Cydia that allows for the total removal of the requirement. But I also want to have it prompt for a pw...just after a longer period of time as well.kwickone I.T.H.
02-10-2010, 06:08 AM #5
Strange - mine gives options for 1,5 and 15 minutes and 1 and 4 hours.
Not quite sure why this question was posted under News though?He who asks a question looks foolish for 5 minutes. He who doesn't ask a question remains foolish forever.
02-10-2010, 08:47 AM #6
02-11-2010, 08:57 AM #7
mine only goes up to 15 minutes. Must be set on exchange server somewhere.
I cant seem to find any information about the cydia apps to disable this.
I find 3 apps exchnage camera enabler (which does the passcode also), exchange unlock, and killexchangelock. I want to be able to toggle the feature or be able to undo whatever the app does. Does anyone know or used either of these apps?
If you simply uninstall the app will your previous settings go back?
03-06-2010, 09:59 PM #8
- Join Date
- Mar 2010
- Thanked 2 Times in 1 Post
Assuming you have jailbreaked your phone, here is a way to change the passcode lock time so that the 1 hour and 4 hours options are available. I have mine set to 4 hours now, when it used to be that I only had the 15 minute option available.
How to increase the passcode lock time from 15 minutes to 1 or 4 hours:
a. Jailbreak phone.
b. SSH into the phone as [ root ]
c. Edit the following file [ "/var/Managed Preferences/mobile/com.apple.springboard.plist" ] Just double click on the file to edit.
d. Make the following change, setting of the key "maxGracePeriod" integer from 15 to 480. Also change the "maxInactivity" integer also from 15 to 480. Even though 480 is 4 hours, when you go back to preferences, your passcode lock will have (additionally) the 1 hour and 4 hours options.
Make sure and "save" the changes. and exit from the SSH program.
e. Now go into passcode lock "Require Passcode" to 1 or 4 hours.
03-14-2010, 11:56 AM #9
I've been looking for a way to do this for quite a while and this solution looked great. However my com.apple.springboard.plist file only has 2 keys, none of the ones listed in your post, and is only about 10 lines long including the header info. Is the file version specific? Or am I supposed to add all the lines you listed to the file? I'm running a JB 3.1.2.
09-28-2010, 09:07 PM #10
- Join Date
- Sep 2010
- Thanked 3 Times in 1 Post
I know this topic is really old, sorry if someone else posted, but I wanted to do this too, did some searching on the iPod touch 4.0, and the files with those values are now in:
change maxGracePeriod and maxInactivity to 14400 (it's in seconds, not in minutes) in the files EffectiveUserSettings.plist and Truth.plist.
It changed them for me at least.
Again, if this was answered, sorry! I did a google search, this post helped, so I thought I'd post it here.
10-26-2010, 10:59 AM #11
is there any possibility to set it to 30 Minutes ? I try it with 1800 (seconds) but it doesn't work
oh and is there any possibility to activate the code request manual via maybe a springboard icon ?
01-04-2011, 07:20 AM #12
Is there an app in cydia that does this?
I want to be able to set my iPhone to lock itself once a day.