Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Password expiry

Re: Password expiry

From: Nancy Teh <Nancy.Teh_at_cc.monash.edu.au>
Date: Thu, 30 Apr 1998 10:52:51 +1100
Message-ID: <3547CB63.FE6B8C0C@cc.monash.edu.au>


Hi Linda,

Linda Harte wrote:
>
> How do you set up a user in Oracle with a password that
> expires after a certain period of time or after a certain
> number of days.

--
ou have to do it through the profile.

When you create a user, you assign a profile to the user. And in the profile, there is a PASSWORD_LIFE_TIME and PASSWORD_GRACE_TIME parameters.

You have to alter the profile first. The PASSWORD_LIFE_TIME is set to unlimited in default profile. You might want to create a NEW profile.

create profile new_profile limit
PASSWORD_LIFE_TIME 30; or

alter profile default limit
PASSWORD_LIFE_TIME 30; ie 30 days. You can also set PASSWROD_GRACE_TIME(let said 5), which mean that if the password is not change within 5 days after the password has expired, the user will not be able to log in.

Hope that answer your question.



Nancy Teh
Email:Nancy.Teh_at_cc.monash.edu.au
Australia
Received on Wed Apr 29 1998 - 18:52:51 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US