oracle profile status and expire date

Posted on 2005-04-21
Last Modified: 2013-12-01
Hi ,

I have oracle 9i database on unix sun.
When I checked the status of oracle user id in dba_users as follows:

SELECT username, user_id, account_status, expiry_date
         FROM dba_users ;

some user shows account status as open but they have expired date in 2004.
 profile forces 90 day password change limitation and 10 day's grace.

does it mean that it got expired on that expired date but later user changed there password so it indicates status as open ? or profile is not working?

A      1      OPEN      [NULL]      12/28/03      09/29/03
B      2      OPEN      [NULL]      04/19/04      01/20/04
C      3      EXPIRED      [NULL]      06/22/04      06/26/01

Thank you very much.
Question by:dcmumbai
    1 Comment
    LVL 11

    Accepted Solution

    Expiry date mentioned in  dba_users is basically means Date of expiration of the account (or the user). The user with EXPIRED status has expiry_date as " 06/26/01", whereas others have  expiry date much later than that(2003, 2004). So check this out. It has nothing to do with password change. DBA will have to update the expiry dates as well as change the status for the user.

    ALTER USER test VALID UNTIL 'Jan 31 2340';

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Suggested Solutions

    This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
    There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now