Teamcenter 《POM has not start》处理

修改oracle密码有效期

虚拟机为了方便,修改为永不过期
1.查看用户和profile,testuser为要查找的用户名,按实际情况来修改。

cmd>sqlplus / as sysdba # linux 环境下使用su oracle后操作
select username,profile from dba_users where username='INFODBA';
 ###--一般查出为
DEFAULT

2.查看默认设置的密码到期时长,一般是180天。

select * from dba_profiles s where s.profile='DEFAULT' and s.resource_name='PASSWORD_LIFE_TIME'; 
###--一般limit结果为180

3.设置密码永不过期。

#修改之后不需要重启动数据库,会立即生效。
alter profile DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;

重新修改登陆密码

cmd

>sqlplus /nolog;
>connect infodba/infodba@tc11 as sysdba; #tc11为监听名称
>alter user infodba identified by infodba;
>commit;
posted @ 2024-04-24 14:03  一个小笨蛋  阅读(66)  评论(0编辑  收藏  举报