SQL> @?/rdbms/admin/utlpwdmg.sql
SQL> create user u1 identified by Oracle123#;
User created.
SQL> select profile from dba_users where username = 'U1';
PROFILE
------------------------------
DEFAULT
SQL> select limit from dba_profiles where profile = 'DEFAULT' and resource_name = 'PASSWORD_VERIFY_FUNCTION';
LIMIT
----------------------------------------
VERIFY_FUNCTION_11G
SQL> show user
USER is "SYS"
SQL> alter user u1 identified by 1;
alter user u1 identified by 1
*
ERROR at line 1:
ORA-28003: password verification for the specified password failed
ORA-20001: Password length less than 8
PASSWORD_VERIFY_FUNCTION 被使用,即使特权用户更改了另一个用户的密码,见下文。
CREATE
用户使用BY VALUES
:这将绕过任何密码功能
ORA-28003: 指定密码的密码验证失败 ORA-20001: 密码长度小于 16
如果您收到此类错误,请按照以下说明操作。