查询默认的profile的密码过期的设置
select * from dba_profiles
where profile='DEFAULT' and resource_name='PASSWORD_LIFE_TIME';
设置default profile密码永不过期,立即生效,不需重启
alter profile default limit password_life_time unlimited;
已经过期的密码就需要改了,可以该成一样
可以sqlplus 登录会提示你改密码
也可以alter user username identified by password;