+ Reply
Results 1 to 12 of 12

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: Extending Time for Passcode Lock

is a discussion within the

Member Written iPhone News

forums, a part of the

iPhone News

section;
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
...
  1. #1
    What's Jailbreak?
    Join Date
    Jul 2009
    Posts
    25
    Thanks
    1
    Thanked 1 Time in 1 Post
    Default Extending 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.

  2. #2
    Retired Moderator soulthoughts's Avatar
    Join Date
    Sep 2007
    Location
    Tacoma, WA
    Posts
    3,097
    Thanks
    333
    Thanked 603 Times in 506 Posts

    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.

    a. Jailbreak.
    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.

    <key>PolicyInformation</key>
    <dict>
    <key>maxFailedAttempts</key>
    <integer>10</integer>
    <key>maxInactivity</key>
    <integer>60</integer>
    <key>minLength</key>
    <integer>0</integer>
    </dict>

    e. Now go into preferences and turn autolock off.

  3. #3
    What's Jailbreak?
    Join Date
    Jul 2009
    Posts
    25
    Thanks
    1
    Thanked 1 Time in 1 Post
    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.

  4. #4
    My iPhone is a Part of Me kwickone's Avatar
    Join Date
    Dec 2008
    Location
    Between Here & There
    Posts
    635
    Thanks
    68
    Thanked 68 Times in 64 Posts

    +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.

  5. #5
    Peanut Brain confucious's Avatar
    Join Date
    Oct 2008
    Location
    Woking
    Posts
    10,169
    Thanks
    134
    Thanked 878 Times in 797 Posts

    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.

  6. #6
    What's Jailbreak?
    Join Date
    Jul 2009
    Posts
    25
    Thanks
    1
    Thanked 1 Time in 1 Post
    Quote Originally Posted by confucious View Post
    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?
    Oops. I'm sorry if I posted my question in the wrong place. Please feel free to move as appropriate.

  7. #7
    Green Apple
    Join Date
    Jan 2010
    Posts
    89
    Thanks
    7
    Thanked 5 Times in 5 Posts

    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?
    Thanks!!

  8. #8
    What's Jailbreak?
    Join Date
    Mar 2010
    Posts
    1
    Thanks
    0
    Thanked 2 Times in 1 Post
    Hi JacobP,

    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.

    <key>PolicyInformation</key>
    <dict>
    <key>SBAutoLockTime</key>
    <integer>900</integer>
    <key>SBDeviceLockGracePeriod</key>
    <integer>900</integer>
    <key>forcePIN</key>
    <string>0</string>
    <key>manualFetchingWhenRoaming</key>
    <string>0</string>
    <key>maxGracePeriod</key>
    <integer>480</integer>
    <key>maxInactivity</key>
    <integer>480</integer>
    </dict>

    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.

    Good luck!!

  9. The Following 2 Users Say Thank You to chadsbad For This Useful Post:

    jacobp (03-09-2010), Xilent (10-26-2010)

  10. #9
    What's Jailbreak?
    Join Date
    Dec 2008
    Posts
    6
    Thanks
    0
    Thanked 1 Time in 1 Post
    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.

    Thanks.

  11. #10
    What's Jailbreak?
    Join Date
    Sep 2010
    Posts
    1
    Thanks
    0
    Thanked 3 Times in 1 Post
    Default Found it
    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:

    /var/mobile/library/configurationProfiles/PublicInfo

    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.

  12. The Following 3 Users Say Thank You to SergeantMajorME For This Useful Post:

    soulthoughts (09-28-2010), Xilent (10-26-2010), Zasurus (02-01-2012)

  13. #11
    What's Jailbreak?
    Join Date
    Jul 2010
    Posts
    2
    Thanks
    2
    Thanked 0 Times in 0 Posts

    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 ?

  14. #12
    What's Jailbreak?
    Join Date
    Oct 2010
    Posts
    8
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Is there an app in cydia that does this?
    I want to be able to set my iPhone to lock itself once a day.

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts