1、问题描述:

  今天登陆pl/sql工具时,提示 ORA-28002 the password will expire within 7 days

2、问题原因:

  oracle11g中默认在default概要文件中设置了"PASSWORD_LIFE_TIME=180”所导致,oracle用户的密码必须在180天内更改,否则启动数据库的时候会提示连接失败。

3、解决方法

1)查看用户的profile设置

select username,profile from dba_users;

注:一般用户的profile设置都为DEFAULT

2)查看密码有效期时长

select * from dba_profiles s where s.profile='DEFAULT' and resource_name='PASSWORD_LIFE_TIME';

注:原先LIMIT 这里的值是180天

3)将密码设置为永不过期

ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;

4)修改用户密码(已经被提示密码快要过期的账户必须再改一次密码)

 alter user TMS20 identified by TMS20;

Ps:

参考网址: https://blog.csdn.net/zyp630998758/article/details/46515715

如何解决ORA-28002 the password will expire within 7 days问题(密码快过期)相关推荐

  1. 错误:ORA-28002: the password will expire within 7 da

    2019独角兽企业重金招聘Python工程师标准>>> 今天在使用sqlplus时出现 =============================================== ...

  2. Oracle Database 11g 数据库普通用户登录时提示 ORA-28002: the password will expire within 5 days

    用PL/SQL登录oracle数据库时,提示 ORA-28002: the password will expire within 5 days ,密码即将过期,解决方式是: 查看用户的proifle ...

  3. 转ORA-28002: the password will expire within 7 days 解决方法

    转ORA-28002: the password will expire within 7 days 解决方法 参考文章: (1)转ORA-28002: the password will expir ...

  4. oracle ORA-28002:the password will expire within 7 days 解决方法

    当oracle数据库出现ORA-28002:the password will expire within 7 days提示时,表示数据库密码将在7(N)天内容过期. 为不影响数据库的正常使用,可以通 ...

  5. Oracle 11g 错误:ORA-28002: the password will expire within 7 days 解决方法

    ERROR:ORA-28002: the password will expire within 7 days 错误是提示password快过期了,有两个办法解决问题. 一. 改动已经报错用户的pas ...

  6. ORA-28002: the password will expire within 7 days 解决方法(后面部分为拷贝,前面加上了自己遇到的问题的时候解决方案)

      首先以管理员密码登录 如果发现仍然登录不进去了,可以将Oracle安装的Linux的系统时间提前,修改方法是: date -s 04/29/2014 date -s 17:52:00 clock ...

  7. ORA-28002: the password will expire within 2 days

    今天启动皕杰报表平台时候,发现tomcat报警告信息ORA-28002: the password will expire within 2 days,这实际上是oracle11g中默认在defaul ...

  8. 解决Incorrect username or password (access token)问题

    解决Incorrect username or password (access token)问题 今天在上传文件到gitee时出了一个错误Incorrect username or password ...

  9. 解决每次git pull、git push都需要输入账号和密码的问题

    解决每次git pull.git push都需要输入账号和密码的问题 每次git pull 或者git push 的时候,都要提示你输入账号和密码,很麻烦.于是在网上找到了解决办法.这j里记录下来,以 ...

最新文章

  1. Spring 教程06
  2. python 将字符串作为变量名
  3. 搭建及训练py-R-FCN遇到的问题
  4. 私有CA的创建和证书的申请
  5. node.js中npm包管理工具
  6. 27.MySQL Status
  7. 吸引人的软文标题究竟有哪些
  8. 网管系统测试学习——传输网下一代综合网管系统测试
  9. 虚拟机ipv4和6都没访问权限_ipv4无访问权限,小编教你ipv4无internet访问权限怎么办...
  10. 参加计算机培训典型材料,计算机应用专业典型学员事迹材料
  11. 设计模式(二)--策略模式
  12. 火遍全网的 ChatGPT,给你的求职新方向
  13. VScode+texlive配置环境
  14. Unity打包apk报错: Cannot fit requested classes in a single dex file (# methods: 73376 > 65536)的解决办法
  15. 做期货怎么才能赚钱吗(期货这样做才能赚钱)
  16. cad批量选择相同块_cad怎么快速选择相同图形/块?
  17. 免费聚合文章dedeCMS采集脚本网页采集器
  18. 【Linux项目】 --P2P下载器的详细介绍
  19. 条款11:在operator=中处理“自我赋值”
  20. 解决obsidian无法加载第三方插件(社区插件)的问题

热门文章

  1. Redis如何做内存优化?
  2. Alibaba Nacos Linux下的集群安装与mysql持久化数据
  3. Go语言并发爬虫,爬取空姐网所有相册图片
  4. 东北大学计算机技术考研大纲,东北大学考研大纲
  5. ArrayList 实现原理及源码解析(jdk8 底层⽤的是数组)
  6. php warning: array_merge(),php数组合并array_merge()函数使用注意事项_php技巧
  7. Java获取请求客户端的真实IP地址
  8. 【SpringMVC框架】小结+视图解析器配置前缀和后缀
  9. QEMU/KVM原理概述
  10. 长挺丑,Go 最新的泛型类型约束语法介绍