版权归作者所有,转载请注明出处
ALTER profile default limit password_lifetime unlimited;
select 'alter user ' || name || ' identified by values ''' || password || ''';'
from user$
where name in (select username from dba_users where oracle_maintained='N'
AND ACCOUNT_STATUS in ('EXPIRED','EXPIRED(GRACE)')
)
再执行生成的SQL即可。
以上在 19c上通过。