dbTalk Databases Forums  

Account Locked

comp.databases.oracle.server comp.databases.oracle.server


Discuss Account Locked in the comp.databases.oracle.server forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
eliot06
 
Posts: n/a

Default Account Locked - 12-31-2010 , 04:02 AM






Hi,
Some one could tel me ?

Sometimes a user account is locked and I do not know why?

Can someone tell me how to log the lock?

thank's

Reply With Quote
  #2  
Old   
gazzag
 
Posts: n/a

Default Re: Account Locked - 12-31-2010 , 04:54 AM






On Dec 31, 10:02*am, eliot06 <p.hi... (AT) gmail (DOT) com> wrote:
Quote:
Hi,
Some one could tel me ?

Sometimes a user account is locked and I do not know why?

Can someone tell me how to log the lock?

thank's
Check out the DBA_USERS view.

E.g.

SQL> select username, account_status, lock_date
from dba_users
where account_status != 'OPEN';

Possible values for ACCOUNT_STATUS are:

OPEN : account is open
EXPIRED: the password on the account has expired
EXPIRED(GRACE): the password on the account has expired but there is a
grace period to change the password
LOCKED(TIMED): account is locked as as there have been more than
FAILED_LOGIN_ATTEMPTS unsuccessful logins

Addidionally, the ACCOUNT_STATUS can also be:

EXPIRED(GRACE) & LOCKED(TIMED)
EXPIRED & LOCKED
EXPIRED(GRACE) & LOCKED

These are combinations of the above.

For 10gR2, more information can be found here:

http://download.oracle.com/docs/cd/B...4.htm#i1628672

HTH
-g

Reply With Quote
  #3  
Old   
Noons
 
Posts: n/a

Default Re: Account Locked - 12-31-2010 , 08:03 AM



eliot06 wrote,on my timestamp of 31/12/2010 9:02 PM:

Quote:
Sometimes a user account is locked and I do not know why?
check if the profile associated with the user has a defined attempts limit. If
so, then if the user fails to enter the correct password for that number of
times, the account becomes locked.

Quote:
Can someone tell me how to log the lock?
gazzag gave you a possible answer.

Reply With Quote
  #4  
Old   
joel garry
 
Posts: n/a

Default Re: Account Locked - 12-31-2010 , 10:48 AM



On Dec 31, 2:02*am, eliot06 <p.hi... (AT) gmail (DOT) com> wrote:
Quote:
Hi,
Some one could tel me ?

Sometimes a user account is locked and I do not know why?

Can someone tell me how to log the lock?

thank's
Also check to see if there are tools that use that account. Some
things keep passwords so you don't have to log in again, a browser or
automated job (either within Oracle or the OS) is a typical reason.
In a browser, if you right-click on a screen, view page info, click on
security tab, there is a button to show saved passwords (I think, I
never save passwords myself). For jobs, there should be logs.

Also check your listener.log (lsnrctl status can tell you where it is)
to see if maybe someone is just being stupid and typing the wrong
username or host, or someone really is trying to hack in. I worked at
a large secure site with a 3-strikes password policy, and a disliked
high muckity-muck was DoS'd every day in his general network login.

There may also be sysadmin or web logs, depending on what you are
doing.

jg
--
@home.com is bogus.
http://www.cnn.com/2010/TECH/innovat...ear/index.html

Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.