2026-03-12 20:23:15

This commit is contained in:
root
2026-03-12 21:23:47 +01:00
parent eab4b36eca
commit 93039b8489
3332 changed files with 699614 additions and 0 deletions

31
timhall/12c/host_aces.sql Normal file
View File

@@ -0,0 +1,31 @@
-- -----------------------------------------------------------------------------------
-- File Name : https://oracle-base.com/dba/12c/host_aces.sql
-- Author : Tim Hall
-- Description : Displays information about host ACEs.
-- Requirements : Access to the DBA views.
-- Call Syntax : @host_aces
-- Last Modified: 10/09/2014
-- -----------------------------------------------------------------------------------
SET LINESIZE 200
COLUMN host FORMAT A20
COLUMN principal FORMAT A30
COLUMN privilege FORMAT A30
COLUMN start_date FORMAT A11
COLUMN end_date FORMAT A11
SELECT host,
lower_port,
upper_port,
ace_order,
TO_CHAR(start_date, 'DD-MON-YYYY') AS start_date,
TO_CHAR(end_date, 'DD-MON-YYYY') AS end_date,
grant_type,
inverted_principal,
principal,
principal_type,
privilege
FROM dba_host_aces
ORDER BY host, ace_order;
SET LINESIZE 80