How do I fix the ORA-28007 error?
Answer:
The
oerr utility shows no cause or action for the
ORA-00990 error:
ORA-00990: missing or invalid privilege
Cause: No privileges were specified in
a GRANT privilege statement, or one of the specified
privileges is invalid.
Action: Enter
one or more valid privileges such as SELECT, INSERT, DELETE,
UPDATE, ALTER, INDEX, REFERENCES, or ALL. More than one
privilege may be granted by entering the privileges in a
list separated by commas (,) or by specifying the keyword
ALL to grant all privileges.
Solution for the ORA-28007 pass cannot
be reused error:
1)Change the profile limit and make the same password
SQL> select
USER#,NAME,PASSWORD FROM user$ where name='BURLESON';
USER#
NAME
PASSWORD
---------- ------------------------------
------------------------------
99 BACMONIT
XXXXXXX
2)Check the PASSWORD_REUSE_TIME.
SQL> select * from dba_profiles
where profile='DBUSER' and RESOURCE_NAME in ('PASSWORD_REUSE_TIME')
;
PROFILE
RESOURCE_NAME
RESOURCE
------------------------------
-------------------------------- --------
LIMIT
----------------------------------------
DBUSER
PASSWORD_REUSE_TIME
PASSWORD
360
3)Change the profile limit to unlimited.
SQL> alter profile DBUSER
limit PASSWORD_REUSE_TIME UNLIMITED;
Profile altered.
Note: As of 12c, the create user xxx identified by values clause will throw a ORA-02153 error.
4)Change the password with used one.
SQL> alter user BACMONIT
IDENTIFIED BY VALUES 'xxxxxxx';
User altered.
5)Revert back the limit.
SQL> alter profile DBUSER
limit PASSWORD_REUSE_TIME 360;
Profile altered.
6)Check the password expiry date
SQL> select
username,account_status,EXPIRY_DATE from dba_users where
username='BURLESON';
USERNAME
ACCOUNT_STATUS
EXPIRY_DA
------------------------------
-------------------------------- ---------
BACMONIT
OPEN
29-DEC-13
|
|
|
Oracle Training from Don Burleson
The best on site
"Oracle
training classes" are just a phone call away! You can get personalized Oracle training by Donald Burleson, right at your shop!
|
|
|
|
|
Burleson is the American Team
Note:
This Oracle
documentation was created as a support and Oracle training reference for use by our
DBA performance tuning consulting professionals.
Feel free to ask questions on our
Oracle forum.
Verify
experience!
Anyone
considering using the services of an Oracle support expert should
independently investigate their credentials and experience, and not rely on
advertisements and self-proclaimed expertise. All legitimate Oracle experts
publish
their Oracle
qualifications.
Errata?
Oracle technology is changing and we
strive to update our BC Oracle support information. If you find an error
or have a suggestion for improving our content, we would appreciate your
feedback. Just
e-mail:
and include the URL for the page.
Copyright © 1996 - 2020
All rights reserved by
Burleson
Oracle ®
is the registered trademark of Oracle Corporation.
|
|