|
|
Re: Create user with non expiring password [message #515021 is a reply to message #515004] |
Thu, 07 July 2011 14:23 |
John Watson
Messages: 8960 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
Every user has a profile, query dba_users to find which. In 11g, the default profile includes a password expiration. So either you need to create a new profile with no password expiry and assign it to your user, or you need to adjust the default profile to remove the expiry. Read up on profiles, and all will become clear.
|
|
|
|
Re: Create user with non expiring password [message #515148 is a reply to message #515029] |
Fri, 08 July 2011 04:53 |
Database admin
Messages: 365 Registered: September 2006 Location: india
|
Senior Member |
|
|
Thank you John for your explanation..
I see a resource name PASSWORD_LOCK_TIME set to a limit of .0034.
PASSWORD_LOCK_TIME
==================
Specify the number of days an account will be locked after the specified number of consecutive failed login attempts.
what does .0034 means here ?
Can somebody explain it ?
Thanks
[Updated on: Fri, 08 July 2011 04:58] Report message to a moderator
|
|
|
|
|
Re: Create user with non expiring password [message #515172 is a reply to message #515153] |
Fri, 08 July 2011 06:12 |
Database admin
Messages: 365 Registered: September 2006 Location: india
|
Senior Member |
|
|
Thank you Michel...
I am gonna set PASSWORD_LIFE_TIME to UNLIMITED for non expiring password for a user.
I will set this resource name PASSWORD_LIFE_TIME in a profile called 'test_profile' and assign it to a user 'BALA'.
So user BALA has no limit been set for the parameter i.e non expiring password.
This is what i needed.
I have one question to clarify here.If i want to set this resource
PASSWORD_LIFE_TIME to UNLIMITED for non expiring password for a user , do i need to change any other resources like '
PASSWORD_REUSE_TIME,PASSWORD_REUSE_MAX to UNLIMITED ?
steps to create profile and assign it to user.
==========================================
CREATE PROFILE test_profile LIMIT
PASSWORD_LIFE_TIME UNLIMITED
PASSWORD_LOCK_TIME UNLIMITED;
ALTER USER BALA PROFILE test_profile;
Please clarify my doubts
Thanks
[Updated on: Fri, 08 July 2011 06:14] Report message to a moderator
|
|
|
|
|