重置oracle账号口令
alter user username identified by new_pass replace old_pass;
新密码至少有三个字符与原密码不一致;必须包含一个下划线;
用户修改密码时,出现ORA-28221错误的原因
当用户修改自己的密码时,可能会遇到ORA-28221: REPLACE not specified的错误。这是因为用户没有alter user的权限,或者是没有使用replace子句。 当用户启用密码复杂性函数时,也就是执行过UTLPWDMG.SQL或在用户所在profile中的PASSWORD_VERIFY_FUNCTION指定了函数的时候,必须在alter user命令的时候使用replace子句,即:
alter user username identified by new_pass replace old_pass;
新密码至少有三个字符与原密码不一致;必须包含一个下划线;
用户修改密码时,出现ORA-28221错误的原因
当用户修改自己的密码时,可能会遇到ORA-28221: REPLACE not specified的错误。这是因为用户没有alter user的权限,或者是没有使用replace子句。
alter user username identified by new_pass replace old_pass;
或者给用户付alter user的系统权限。
---------------------------
SQL> alter user UIF_FS identified by GDK_4321 replace abcd_1234;
User altered







