Oracle暗码过期的处理方法

[复制链接]
发表于 4 天前 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?立即注册

×
1、问题形貌


如上图所示,使用账号暗码登录 Oracle 数据库时,提示暗码已失效。
  1. 执行请求的操作时遇到错误:
  2. ORA-28001: 口令已经失效
  3. 28001. 00000 -  "the password has expired"
  4. *Cause:    The user's account has expired and the password must be changed.
  5.            This can happen if any of the followings is true:
  6.            * The database administrator expired the user account using the
  7.            ALTER USER PASSWORD EXPIRE statement.
  8.            * The user account was associated with a password profile with
  9.            a limited password life time and the user's password had not
  10.            been changed in accordance with the PASSWORD_LIFE_TIME
  11.            parameter.
  12.            * The user account was created as part of either a database
  13.            import inside a Pluggable Database (PDB) or clone of an
  14.            existing PDB and the user's password did not meet the
  15.            requirements of the mandatory profile enforced in the PDB.
  16. *Action:   Change the password or contact the database administrator to
  17.            understand the rules for choosing the new password which complies
  18.            with the mandatory profile.
  19. 供应商代码 28001
复制代码
2、处理方法

2.1、以SYSDBA身份登岸

  1. sqlplus 账号/"密码"@数据库IP地址/数据库服务名 as sysdba;
复制代码
2.2、修改账号的暗码

  1. alter user 账号 identified by "密码";
复制代码
2.3、测试效果


如上图所示,暗码修改成功,毗连正常。
本文参考

【1】【佚名】【怎么修改oracle用户暗码,特别字符】【爱码网】【2023-11-08】

免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。
回复

使用道具 举报

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5

GMT+8, 2025-6-19 20:54 , Processed in 0.058157 second(s), 27 queries 手机版|qidao123.com技术社区-IT企服评测▪应用市场 ( 浙ICP备20004199 )

快速回复 返回顶部 返回列表