0%

处理天密码过期

1
2
3
4
5
6
-- 设置密码不过期
ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;
-- 查看是否生效
SELECT * FROM dba_profiles WHERE profile='DEFAULT' AND resource_name='PASSWORD_LIFE_TIME';
-- 修改密码
alter user zxx identified by zxx;
1
2
3
4
-- 密码忘记 
su - oracle
sqlplus / as sysdba
alter user zxx identified by zxx;