er falschen Anmeldungen einen "ORA-01017: invalid username/password; logon denied" oder einen "ORA-28000: th... Account anmeldet.
In der Spalte userid steht der Username, mit dem ein Versuch durchgeführt wurde.
Audit Trail abfragen mit:
<code sql>
select os_username
, username
, terminal
, userhost
, returncode
, count(*)
from dba_audit_trail
w
Script für die Analyse:
<code parallel.sql>
col username for a12
col "QC SID" for A6
col "SID" for A6
col ... ECT DECODE (px.qcinst_id
, NULL, username
, ' - ' || LOWER (SUBSTR (pp.serve... ))
) "Username"
, DECODE (px.qcinst_id
, N... , ps.inst_id
/
set pages 300 lines 300
col "Username" for a12
col "QC/Slave" for A8
col "Slaveset" for
f die Datenbank zugreifen werden (Aufruf „sqlplus username/password“).
Dazu muss in der Umgebung die Vari... asswort**@DatenbankAlias** aufgerufen. ( „sqlplus username/password@tnsalias“ )
Der tnsalias oder Datenbank... ng ist auch ohne Angabe des TNSAlias mit „sqlplus username/password“ möglich, scheinbar ohne den TNSAlias.
... timestamp
, instance_number
, username
, action_name
, userhost
, C
-- DD abfragen
SELECT credential_name
,username
FROM user_credentials
ORDER BY credential_na... OPE/VIENNA
EXTERNAL_LOG_ID="job_92830_2616",
USERNAME="job_control"
</code>
Auf OS Seite den erzeuge... ARD_ERROR="Launching external job failed: Invalid username or password"
</code>
Password neu setzen:
<code... select Credential
SELECT credential_name
,username
,windows_domain
,enabled
FROM use
nst_id
, to_char(p.spid) as os_pid
, vs.username
, p.tracefile as trace_file_location
from gv$... .paddr=p.addr
and vs.inst_id=p.inst_id
and vs.username is not null
and vs.username like '%&&USER_NAME.%'
order by vs.username
/
</code>
- Trace für die Session erstellen und Parameter in
ahme haben interne Sessions wie System Sessions (USERNAME is NULL !) die AUDSID = 0.
AUDSID wird beim Audi... om dual;
</code>
Abfragen mit:
<code sql>
select username
, audsid
, count(*)
from gv$session
where username is not null
group by username
, audsid
order by 3 desc
/
</code>
==== Quellen ====
* V$SESSION
t e.g. 1521
* ASM user role e.g. SYSDBA
* ASM username e.g. SYS
* ASM user password
Vorbereitung:
Use...
ASM port [ 1521 ]:
ASM user role [ SYSDBA ]:
ASM username [ SYS ]:
ASM user password:
---------------------... .. 1521
ASM user role ................ SYSDBA
ASM username ................ SYS
---------------------------
ode taf.sql>
select inst_id
, machine
, username
, failover_type
, failover_method
... count(*) as connect_count
from gv$session
where username is not null
group by inst_id,machine, username,failover_type, failover_method, failed_over
order by machin
and u.intcol# = c.col#
and o.owner like '&USERNAME.%'
and not exists (select 1
... dba_ind_columns
where index_owner like '&&USERNAME.%'
order by index_owner,table_name
)