1、查询用户的profile,一般是DEFAULT select username,profile from dba_users; 2、以DEFAULT作为dba_profiles表profile字段的参数,查询密码生效天数 select * from dba_profiles where profile = 'DEFAULT' and resource_name = 'PASSWORD_LIFE_TIME'; 3、修改密码永久有效 alter profile default limit PASSWORD_LIFE_...
Oracle错误代码:ORA-28002导致密码消失 Oracle错误代码:ORA-28002。 受影响版本:Oracle11g以上版本。 导致密码消失的原因:Oracle 11g中默认的DEFAULT概要文件中口令有效期PASSWORD_LIFE_TIME默认值为180天。 当以客户端登陆Oracle提示ORA-28002,则基本可以确定登陆帐号已过有效期,使用具有DBA权限的帐号重置该帐号密码即可。
提示ERROR:ORA-28002: the password will expire within 7 days 告警信息: ERROR: ORA-28002: the password will expire within 7 days 原因分析: SELECT * FROM dba_profiles s WHERE s.profile='DEFAULT' AND resource_name='PASSWORD_LIFE_TIME'; oracle11g 中默认在default概要文件中设置了“PASSWORD_LIFE_...
即:【ora-28002:the password will expire within 7 days】提示密码快过期了 以下是解决办法: 1、查看用户的profile设置: selectusername,profilefromdba_users; 1. 在Oracle 中,每个用户都会对应一种特定类型的 profile 概要设置,其基本描述了这个用户的一些特征,比如用户密码的生命周期(这个特征就与经验涉及 的 O...
ORA-28002解决方法 ORA-28002 the password will expire within 7 days 解决方法 提示密码快过期了,由于需要连接的测试数据库,所以决定将密码设置成永不过期。 1.查看用户的profile设置 SELECT username,profile FROM dba_users whereusername='<username>';...
方法/步骤 1 现象描述:登陆oracle 11g提示ERROR:ORA-28002: the password will expire within7 days告警信息:ERROR: ORA-28002: the password will expire within7 days原因分析:SELECT * FROM dba_profiles s WHERE s.profile='DEFAULT' AND resource_name='PASSWORD_LIFE_TIME';oracle...
SELECT * FROM dba_profiles s WHERE s.profile='DEFAULT' AND resource_name='PASSWORD_LIFE_TIME';取消限制:ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;修改后,还没有被提示ORA-28002警告的用户不会再碰到同样的提示;已经被提示的用户必须再改一次密码,然后才可以。
出现Error:ORA-28002:X天之后口令将过期,查询密码过期时间:SELECT * FROM dba_profiles WHERE profile='DEFAULT' AND resource_name='PASSWORD_LIFE_TIME';系统显示密码为无期限,如图2。 图2 出现Oracle账号密码已经设置无期限,但账号infodba的密码有期限的问题。查询账号infodba是否使用的是default概要文件:SELECTuser...
当Oracle数据库用户密码过期时,可以按照以下步骤进行处理: 1. 确认密码过期的具体情况 错误提示:通常你会在尝试登录数据库时收到类似“ORA-28002: the password has expired”的错误信息。 查询密码过期日期:你可以通过查询dba_users视图来查看用户的密码过期日期。 sql SELECT username, account_status, expiry_date,...
今天上班开发同事在连接数据库时,提示:“ERROR:ORA-28002: the password will expire within 7 days”。此文档记录一下处理办法 查看用户的proifle 一般用户的proifle都是default SELECTusername,PROFILEFROMdba_users; 查看对应的概要文件的密码有效期设置