1 一: 2 select *From dba_profileS s where s.profile=‘DEFAULT‘ AND RESOURCE_NAME=‘PASSWORD_LIFE_TIME‘; -- 查看用户密码时间限制 3 ALTER profile default limit PASSWORD_LIFE_TIME UNLIMITED; --设置为无限制 4 5 二: 6 SELECT username,PROFILE FROM dba_users; 7 SELECT * FROM dba_profiles s WHERE s.profile=‘DEFAULT‘ AND resource_name=‘PASSWORD_LIFE_TIME‘; 8 ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;
时间: 2024-10-13 23:31:04