Unlock user automatically after given time

Hi,
I have a requirement where I need to unlock the user automatically after 2 hours once his account gets locked(after 3 unsuccessfull attempts).Do we have this feature Out of the box or we need to write a scheduler for this.
Regards,
Edited by: 851992 on Apr 13, 2011 4:54 AM

Hello,
If you are using Oracle Access Manager in the setup, then this is feature available out of the box.
-Mahendra.

Similar Messages

  • N73 got shuts down automatically after some time

    hi,
    my n73 music edition gets shut down after some time autmatically please can anybody tell me the reason.

    The reason is that nokia phones have many bugs and problems.
    A common cause of this problem is 3G. If the phone is in a weak 3G area the loss of 3G signal can cause the phone to reboot. It's an old problem thats been affecting nokia's for years. Disabling 3G can stop the random shutdowns.
    It may also be worth updating the phones firmware but this is a fairly risky procedure that can cause more problems than it solves.

  • How to identify no of queries executed by a user in a given time

    Hi All,
    version 11g
    os Linux 5.6
    Am trying to find out total number of queries executed by a user in 30min of time. This information is required to understand how many queries are getting executed by application for the analysis purpose.
    Could some one help me to get this information.
    Thank you very much in advance.
    Best Regards
    Mvk

    Dear Vlethakula,
    I tried query below query
    select sql_id,TO_CHAR(sample_time,'MM-DD-YYYY HH24:MI:SS') from dba_hist_active_sess_history where snap_id in
    (select snap_id from dba_hist_snapshot where sample_time between to_date('02-19-2013 19:00:00','MM-DD-YYYY HH24:MI:SS') and
    to_date('02-19-2013 20:00:00','MM-DD-YYYY HH24:MI:SS'))
    and user_id='572'
    {code }
    But when i see in  awr report number of executions were more .
    Ex: i tried above query and got output as 1880
    During same time period for the same query(accessed only by this user from application) in awr it is showing 16000 executions.
    Am i doing some thing wrong?
    Thank you very much
    Regards
    Mvk                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Switch playlist of itunes dj automatically after certain time

    hello,
    i have 2 playlists in itunes.  i would like to do the following:
    1) itunes plays the first playlist by playing the songs in a random order and continues to do this, until
    2) after a certain time (say 30 minutes), itunes switches to the second playlist and plays these songs in a random order and continues to do this for another 30 minutes. 
    now, for the randomization, i could use shuffle with repeat, but the problem with that is that after all songs are played in the playlist, the exact order repeats again.  i don't want this.  i want itunes to choose a random song from the playlist each time, even if it is the same one twice in a row.  as i understand it, the itunes dj allows this possibility.
    for the automatic switching, i read that i can use apple's automator to accomplish this.  however, this is my first time using it.  i chose workflow, and then music under 'actions'.  i see a bunch of stuff for itunes but there is no itunes dj. 
    i don't know where to go from here or if there is an easier way to do this.  does anyone have any ideas?
    thank you.

    In my first script : if the user press the "Camcel" button in the dialogue, the script will give an error.
    Here is the corrected script.
    global tPlaylists, DJ_Playlist, tIndex, firstTime
    property durationTime : 1800 --seconds, equal 30 minutes
    on run
        set tPlaylists to {}
        set tIndex to 1
        set firstTime to true
        tell application "iTunes" to set {tnames, uPlaylists} to {name, it} of (user playlists whose its special kind is none)
        set j to (count tnames)
        repeat with i from 1 to j
            set item i of tnames to "" & i & " -  " & item i of tnames
        end repeat
        set n to my choosePlaylist(tnames, "first")
        if n is not "" then
            set end of tPlaylists to item n of uPlaylists
            set item n of tnames to missing value
            set tnames to text of tnames -- remove name of first selected playlist from tnames
            set n to my choosePlaylist(tnames, "second")
            if n is not "" then
                set end of tPlaylists to item n of uPlaylists
                tell application "iTunes"
                    set DJ_Playlist to (first playlist whose special kind = Party Shuffle) -- iTunes DJ playlist
                    tell front browser window to if exists then set view to DJ_Playlist
                    activate
                end tell
                my mixTracks() -- add random tracks in the iTunes DJ playlist
            end if
        end if
        if n is "" then quit -- the user pressed the Cancel button
    end run
    on idle
        -- set the next index
        if tIndex = 1 then
            set tIndex to 2 -- the second playlist selected by the user
        else
            set tIndex to 1 -- the first playlist selected by the user
        end if
        my mixTracks() -- add 30+ minutes of random tracks from the next playlist
        return durationTime
    end idle
    on mixTracks()
        set selPlaylist to (item tIndex of tPlaylists)
        tell application "iTunes"
            set b to running
            if b then
                set tTime to durationTime + (duration of DJ_Playlist)
                set trackIndex to (count tracks of DJ_Playlist)
                -- add tracks to iTunes DJ playlist until its duration > (aproximately 30+ minutes of added tracks)
                repeat until duration of DJ_Playlist > tTime
                    duplicate (some track of selPlaylist) to DJ_Playlist
                end repeat
                if firstTime then -- play immediately the first added track in the iTunes DJ playlist
                    set firstTime to false
                    play track (trackIndex + 1) of DJ_Playlist
                end if -- else continues to play tracks normally.
            end if
        end tell
        if not b then quit -- iTunes is closed by the user, quit this script
    end mixTracks
    on quit
        continue quit -- quit this application
    end quit
    on choosePlaylist(l, t)
        activate
        set x to (choose from list l with prompt "Select your " & t & " playlist") as string
        if x is not "false" then return (word 1 of x) as integer
        return ""
    end choosePlaylist
    Also, I added a condition to exit the script if the user quit iTunes, but the script only works once every thirty minutes.

  • Ending a user transaction after idle time

    Hi guru's,
    We have a customer transaction used by a lot of endusers that may block some pernrs.
    I'd really like to end the transaction after say like 5 minutes of idle time so the pernrs are no longer blocked by a certain enduser.
    Using the time out of the system so the enduser loses his session or messing with the en- or dequeue commands is not an option.
    Any ideas or approaches?  Useful responses will be rewarded
    Kind regards,
    Jonathan

    hi Jonathan,
    I have a report that loops at pernr (get pernr).
    after start of selection, but before get pernr, I have:
    time = sy-uzeit. **start time of the program
    right before end-of-selection (the end of the pernr loop) i have
    time2 = sy-uzeit.
    then:
    if time2 - time1 > 300.***(Seconds)
    ***if the prgram has been running longer than 5 mins, exit
    write: / 'time exceeded'.
    exit.
    endif.
    hope this helps.
    Warren

  • Buttons not appearing after given time

    Captivate is driving me absolutely mad...
    I am attempting to make an elearning app with audio narration
    on some slides, and some quiz slides and branching. I have set the
    default slide display time to 600 sec. I am using audio files for
    narration and want captions to appear at strategic points in the
    slide. I made the captions and positioned them where I want them on
    the timeline, then changed their properties to "Display for rest of
    slide".
    When I preview the slide in the Captivate interface, it works
    fine, but when I publish the project (or do a full preview), the
    audio plays but the captions don't appear unless I click on the
    "Play" button in the Flash player controls underneath.
    I have downloaded Captivate 4, as I was having similar
    problems in version 3 (except that in version 3 the audio didn't
    play either!) Was surprised to find the same problem - surely this
    is a really standard thing to do... so what am I doing wrong?

    Hi there
    600 seconds? Seriously? OMG, that's ten minutes!
    Personally, I would never recommend having a slide longer
    than maybe ten
    seconds. I'm not sure how you even manage a timeline that
    long.
    At any rate, whatever floats your boat I suppose. My guess is
    that you have some object (Click Box, Button or Text Entry Box)
    that is sitting on the timeline and pausing things before the
    button you wish to see has a chance to appear.
    Cheers... Rick

  • How to close the cursor automatically after some time?

    Hi,
    In my application we are opening the REF cursors many times,
    but if thre are any problems then the cursor is not closing , it
    remains in the pool. Is there any parameter settig to set a
    perticular period of time. Because all the cursors are mostly
    for data retriving (read only) only.
    Or is there any alternative way for this?
    I hope serializable refcursors will help, is there any link to
    know more about these serializable curosrs?.
    regards,
    khaleel

    Try this.
    - Partha
    LabVIEW - Wires that catch bugs!
    Attachments:
    MainVI.vi ‏18 KB
    SubVI.vi ‏25 KB

  • OIM 11.1.1.5 BP2 Roles removed from users automatically

    Hi All,
    We are using OIM 11.1.1.5 BP02 and facing issues with event handlers, role membership and access policy. We have a custom post create user handler and a custom user post update event handler. We are creating users through trusted reconcilication by using EBS Employee Recon connector and provisioning users to AD & Exchange by using the 11.1.1.5 ICF connectors.
    The issue we are seeing is with the Roles of the users, the behavior we are seeing is that, on user creates through trusted recon, the users are getting roles correctly and then the resources are assigned correctly, but after sometime, the roles are removed from the user. We donot have 'Revoke if no longer applies' on the access policy and thus the resources are appearing fine for the user, but we donot want roles to be removed from the user since the rule membership rules criteria is still holding good for the user.
    We are seeing this issue only with trusted reconcilication and not when we create users through the UI. Our custom event handlers have the same logic for both the execute methods; with the difference that the bulk execute method is working on the array of identities received from trusted recon while the normal execute method working on just one identity through the UI.
    We are doing complex computation in the event handlers (& setting multiple fields of the user) and are forced to use UserManager API to set the fields in the create user handler (Following article: 1469286.1); this we believe is effecting the ordering of the custom event handler and the OOTB Role ChangeCalculator event handler.
    We have already checked the bugs(14075985 & 14221435) and wanted to confirm if we are hitting the same and/or how can we debug this more. We have already checked the UPA_USR table but that does not tell us as to why the role is revoked from the user.
    Anyone faced similar issue?
    Thanks,
    Bikash

    The patch we were given was 14226386, also called 11.1.1.5.2AK. The readme has the following overview:
    This patch addresses the concurrency issues encountered in 11g R1 PS1 as described below
    1. Unlike in OIM 11g R1 PS1, when a user's role membership changes policy evaluation doesn't
         kick off immediately. Instead the user is flagged for policy evaluation in the future.
         'Evaluate User Policies' scheduled task then triggers policy evaluation for such users.
         The scheduled task ensures that there is only one policy evaluation for a user at any
         given time. So, duplicate accounts or entitlements wouldn't be provisioned to a user.
         With this fix, access policy based provisioning events will be triggered only when
         'Evaluate User Policies' scheduled task runs. Hence, the frequency of this scheduled
         task needs to be tuned for the customer's deployment. The recommendation is to set it to
         10 minutes.
         In addition to binary changes, this fix involves data model and metadata changes as
         described below.
    2. In a custom event handler, use Platform.getServiceForEventHandler() instead of
    Platform.getService() to get a handle to a Service available in OIM before making an API
         call. This ensures that the API completes in its entirety (including any post processing)
         when it returns. Also, this brings in predicability in the order of execution of OIM
         events on the same entity created from one another.
    3. When trusted source reconciliation brings in multiple events on the same user these events
    are processed by OIM sequentially.
    But since then BP03 and BP04 have been released, I would suggest you find out if BP04 has resolved this from support before applying anything.
    -Kevin

  • Window will close automatically with specifiy time

    hai
    have a peace day.
    i want to close the window automatically after 8 hours using jsp or java code
    please reply
    thank u

    hi!
    you can use Java Script code within the your JSP page for closing the window automatically after spacified time. -- Java Script's setTimeOut event,
    If you are using java- AWT, then Java Provides interface WindowListener. you can call the close function of the same after particular time span. But As per my knowldge you cant use Java's Util.Timer class for the same.
    I think Java Script code scritptlet is the best option

  • Why can I not disable the guest user in the 10.8.2 update? I have never enabled the guest user, but after the update, it was automatically enabled with a "managed" tag. It is not selectable even after entering my admin password to unlock the options.

    Why can I not disable the guest user in the 10.8.2 update? I have never enabled the guest user, but after the update, it was automatically enabled with a "managed" tag. It is not selectable even after entering my admin password to unlock the options. I was able to select the account under "parental controls", but again, could not delete it. Why Apple? Why?!!????

    SOLVED Ok. I actually was able to disable it. I had to actually log in as the guest user to make it accessible in the preference window. Then I disabled it and logged out. Apologies if this was obvious for some people, but I have had some sort of issue with something every update since Snow Leopard.

  • Server unlocks locked users automatically - why ?

    Hello,
    I am using WLS 6.1 SP1
    I have set Lockout Enable option to TRUE in Password tab of security.
    I also have set
    Lockout Threshold = 3
    Lockout Duration=999999
    Lockout ResetDureation= 5
    and rest are default.
    After invalid login in a span of 5 minutes, server locks the user.
    I can see the status on the console server->Monitoring->Security tab
    Total User Unlocked = 0
    Locked Users = 1
    But if try to login again with same (locked) user with or without correct
    password,
    the server unlocks user. Next attempt with correct password, user will be
    successfully authenticated.
    If you see in the console for server->Monitoring->Security tab,
    Total User Unlocked = 1
    Locked Users = 0
    I have not used any unlock command.
    Is there is anything wrong in the configuration or web.xml ?
    Thanks
    Deepak

    Hello,
    I found out one problem - Looks like a BUG
    If Lockout Duration = 999999 then Server unlocks locked user automatically
    during next login attempt
    with correct or incorrect password.
    This looks like a bug becuase
    --- Value 999999 is the maximum value allowed and it accepts this value.
    In the documentation, this value represented in terms of Seconds as the unit
    of measurement
    whereas actaully the <Lock Notice> is displayed in terms as 999'999 Minutes.
    I tried with value 99999 (5 digits), it works !!!
    Regards
    Deepak
    "Deepak Rampoore" <[email protected]> wrote in message
    news:3C43A75F@mail...
    Hello,
    I am using WLS 6.1 SP1
    I have set Lockout Enable option to TRUE in Password tab of security.
    I also have set
    Lockout Threshold = 3
    Lockout Duration=999999
    Lockout ResetDureation= 5
    and rest are default.
    After invalid login in a span of 5 minutes, server locks the user.
    I can see the status on the console server->Monitoring->Security tab
    Total User Unlocked = 0
    Locked Users = 1
    But if try to login again with same (locked) user with or without correct
    password,
    the server unlocks user. Next attempt with correct password, user will be
    successfully authenticated.
    If you see in the console for server->Monitoring->Security tab,
    Total User Unlocked = 1
    Locked Users = 0
    I have not used any unlock command.
    Is there is anything wrong in the configuration or web.xml ?
    Thanks
    Deepak

  • TS3920 I have a problem after I lock my iphone or it is automatically locked , the time doesn't update. It just freezes at the last time of locking. Please help , it is iphone 5 running iOS7.1

    I have a problem after I lock my iphone or it is automatically locked , the time doesn't update. It just freezes at the last time of locking. Please help , it is iphone 5 running iOS7.1
    I check with my service provider as well as I synchronized with iTunes , changed time manually with the right time zone. Unfortunately the problem keeps showing

    Hi Courcoul
    Thanks for stepping by
    To tell the truth I forgot to mention that I already did what you said, even more I tried all "reset" options including:
    Reset all settings
    Erase All content and settings
    Reset Network settings
    Etc
    Even
    Reset location and Privacy
    It keeps showing the problem

  • Getting Lync enable users who are modified after specified time

    Getting Lync enable users who are modified after specified time
    Hi,
    I need to get all the Lync enabled users from Lync 2010 server who are modified after specified time.
    I have written a client with this below code for my purpose
    string
    dateString = "11/4/2014 11:19:10 PM";
    DateTime
    lastModifiedTime = DateTime.Parse(dateString, System.Globalization.CultureInfo.InvariantCulture);
    PSCommand command = new PSCommand();
    command.AddCommand("Get-CsUser");
    command.AddParameter("Filter",
    "WhenChanged -gt " + lastModifiedTime.ToString());
    powershell.Commands
    = command;
    Collection<PSObject> outPut = powershell.Invoke();
    But on calling Invoke method I am getting the below exception,
    Cannot bind parameter 'Filter' to the target. Exception setting "Filter": "Invalid cast problem for value: "11" type: "System.Nullable`1[System.DateTime]" query: "WhenChanged -gt 11/4/2014 11:19:10 PM" "17""
    Can anyone please point me what am I doing wrong.
    This command
    Get-CsUser -filter {whenchanged -gt
    "11/4/2014 11:19:10 PM"}
    when run directly on Windows Powershell works fine.
    Thanks in advance.
    Sandeep

    It appears you may be casting the date variable wrong. 
    If you have
    command.AddParameter("Filter",
    "WhenChanged -gt 11/4/2014 11:19:10 PM"
    And avoid the lastModifiedTime.ToString() addition, does it work?
    If so, it's just the way you're doing your date manipulation.
    Also, why convert from a string to a datetype and back for the datestring?  Are you trying to correct a timezone issue?
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answer".
    SWC Unified Communications
    This forum post is based upon my personal experience and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • What is the best way to automatically delete user profiles after x days of inactivity (school lab environment)?

    I work at a school where we have multiple Mac Carts that have 30 MacBooks per cart. We image the macs every summer to delete the older user profiles but we are looking for way to possible have this done automatically through out the year to help with HDD space. What is the best way to delete user profiles after...say 180 days.... of inactivity automatically? I am open to login hooks, bash scripts, etc. Anything to get the job done. Thanks for any help or advice.

    A search here turned up this post Deleting inactive users
    It appears that the script posted will do as advertised though I would test it out on your systems and under your conditions to see if it does do what you need.
    regards
    Message was edited by: Frank Caggiano - That script looks for users over 21 days. To look for ones over 180 days change the 21 to 180 in the find command.

  • After using time machine my users folder cannot be seen, but all information is still intact. Where did it go?

    After using time machine my users folder cannot be seen, but all information is still intact. Where did it go?

    This is a new feature or bug if you want to call it that in OS X 10.9.3
    Until Apple fixes this, here is a temporary work around.
    Copy and paste the following command in the Terminal and then hit Enter, followed by your password.
    sudo ln -s /Users /Users\ Folder; ln -s /Users/Shared /Users/Shared\ Folder
    This will put a link to the Users folder called "Users Folder" on your Hard Drive and a link to the Shared folder called "Shared Folder" inside of the Users folder.

Maybe you are looking for