1 |
sql> select username,account_status from dba_users; |
2
USERNAME ACCOUNT_STATUS |
4
MGMT_VIEWOPEN |
6
SYSTEM7 |
DBSNMP8 |
SYSMAN9 |
DEMO10 |
OUTLN EXPIRED & LOCKED |
11
MDSYS EXPIRED & LOCKED |
12
ORDSYS EXPIRED & LOCKED |
13
ANONYMOUS EXPIRED & LOCKED |
14
EXFSYS EXPIRED & LOCKED |
15
WMSYS EXPIRED & LOCKED |
16
XDB EXPIRED & LOCKED |
17
ORDPLUGINS EXPIRED & LOCKED |
18
SI_INFORMTN_SCHEMA EXPIRED & LOCKED |
20
ORACLE_OCM EXPIRED & LOCKED |
21
TSMSYS EXPIRED & LOCKED |
二、ORACLE数据库用户有多种状态,可查看视图USER_ASTATUS_MAP。
*user_astatus_map;
STATUS# STATUS
-------- ------------------------------
0
1 EXPIRED
2 EXPIRED(GRACE)
8 LOCKED
5 EXPIRED & LOCKED(TIMED)
6 EXPIRED(GRACE) & LOCKED(TIMED)
10 EXPIRED(GRACE) & LOCKED