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

最后一步要改密码,否则还会报错。

1. 查看用户的profile设置:

SELECT username,profile FROM dba_users;

一般用户的profile设置都为DEFAULT。
2. 查看系统profiles中PASSWORD_LIFE_TIME设置:

SELECT * FROM dba_profiles s WHERE s.profile=‘DEFAULT‘ AND resource_name=‘PASSWORD_LIFE_TIME‘;
PROFILE                        RESOURCE_NAME                    RESOURCE                      LIMIT
------------------------------ -------------------------------- ------------------------------------------------
DEFAULT                        PASSWORD_LIFE_TIME               PASSWORD                180dys

3. 修改DBA_PROFILES中PASSWORD_LIFE_TIM的设置,改为ULIMITED。

ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;

修改后设置立即生效,不需要重启数据库,此时密码永远不会过期。
4. 已经被报告了密码快要过期的账户必须再改一次密码(需要DBA权限)
以system用户为例

sqlplus / as sysdba
alter user system identified by root;

再连接数据再也不会出现密码过期的事情了。
如果是其他用户的话,那么就使用其他用户名。

alter user scott identified by tiger;
时间: 2024-08-02 18:50:28

转ORA-28002: the password will expire within 7 days 解决方法的相关文章

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

ERROR:ORA-28002: the password will expire within 7 days 错误是提示password快过期了,有两个办法解决问题. 一. 改动已经报错用户的password 已经被报告了password快要过期的账户必须再改一次password(须要DBA权限) 以system用户为例 sqlplus / as sysdba alter user system identified by root; 再连接数据再也不会出现password过期的事情了. 假设

【转载】错误:ORA-28002: the password will expire within 7 days 解决方法

免责声明:     本文转自网络文章,转载此文章仅为个人收藏,分享知识,如有侵权,请联系博主进行删除.     原文作者:xwdreamer      原文地址: 错误:ORA-28002: the password will expire within 7 days 解决方法    今天在使用sqlplus时出现 =============================================== ERROR: ORA-28002: the password will expire

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

首先以管理员密码登录 如果发现仍然登录不进去了,可以将Oracle安装的Linux的系统时间提前,修改方法是: date -s 04/29/2014 date -s 17:52:00 clock -w 1. 查看用户的profile设置: SELECT username,profile FROM dba_users; SELECT username,profile FROM dba_users; 一般用户的profile设置都为DEFAULT. 2. 查看系统profiles中PASSWORD_

ubuntu16.04 打开chrome弹出“Enter password to unlock your login keyring”解决方法

问题如图 输入开机密码发现验证失败. 解决 命令: find ~/ -name login.keyring 查找相关文件. 命令: sudo rm -rf /home/la/.local/share/keyrings/login.keyring 删除找到的文件. 再次打开谷歌浏览器 提示设置密码,设置一下即可,之后应该不会再弹出这种提示了. 原文地址:https://www.cnblogs.com/Laggage/p/11184073.html

使用sqlplus连接提示:ORA-28002: the password will expire within 7 days

今天在使用sqlplus时出现 =============================================== ERROR:ORA-28002: the password will expire within 7 days =============================================== 提示密码快过期了,由于需要连接的测试数据库,所以决定将密码设置成永不过期. 1.查看用户的profile设置: SELECT username,profile FR

ora-28002 the password will expire解决办法

Oracle11g R2数据库提示ORA-28002: the password will expire within 5 days,是说密码过期,将Oracle密码设置成永不过期就可以了,不过并不推荐这样做,最好是将日期密码有效期设置长一些. 工具/原料 Oracle11g R2 sqlplus 方法/步骤 SQLDeveloper连接数据库提示 ORA-28002: the password will expire within 5 days   登录到sqlplus sqlplus / a

Oracle 提示密码过期问题:the password will expire

SQL> conn scott/tiger ERROR: ORA-28002: the password will expire within 1 days Connected. SQL> conn /as sysdba Connected. SQL> alter user scott identified by tiger 2 ; User altered. SQL> conn scott/tiger Connected. SQL>

MYSQL更改root password时遇到Access Denied的解决办法

今天在公司虚拟机上装MYSQL之后需要修改root password,然而遇到这样的错误: Access denied for user 'root'@'localhost' (using password:YES) 后来在网上搜了下,找到如下解决办法,测试可用. # /etc/init.d/mysql stop# mysqld_safe --user=mysql --skip-grant-tables --skip-networking &# mysql -u root mysqlmysql&g

MYSQL安装时解决要输入current root password的解决方法

在装MYSQL的时候发现要输入current root password不记得以前在电脑里装过(你的系统曾经装过MYSQL在重装就会要求输入原来设定的密码,如果是第一次安装就不会出现),在网上苦苦搜寻解决方法. 终归结出以下解决方法: 1.清除MYSQL的安装目录,默认是C:\Program Files 2.清除MYSQL数据存放目录,一般在C:\Documents and Settings\All Users.windows\Application Data目录下 (需要注意的时Applica