May 17, 2026, 11:40 PM

This commit is contained in:
Paweł Domański
2026-05-18 06:40:19 +00:00
commit 64944cf004
896 changed files with 310709 additions and 0 deletions
@@ -0,0 +1,24 @@
select dba_users.USERNAME, dba_users.account_status, dba_users.PROFILE,
( select limit as PASSWORD_LIFE_TIME from dba_profiles where profile = dba_users.PROFILE and RESOURCE_NAME = 'PASSWORD_LIFE_TIME' ) as PASSWORD_LIFE_TIME
from dba_users
col USERNAME for a30
col PROFILE for a30
col PASSWORD_LIFE_TIME for a10
col ACCOUNT_STATUSfor a10
set long 20000 longchunksize 20000 linesize 1000 pagesize 0
select a.USERNAME, a.account_status, a.PROFILE, b.limit
from dba_users a
left join dba_profiles b on a.PROFILE = b.profile
where b.RESOURCE_NAME = 'PASSWORD_LIFE_TIME'
and b.limit = 'UNLIMITED'
;
SELECT instance_name,host_name, version FROM V$INSTANCE;