Search
 
SCRIPT & CODE EXAMPLE
 

SQL

oracle detect invalid password

-- Detects invalid password fails (ORA-01017)
SELECT username,
       os_username,
       userhost,
       client_id,
       trunc(timestamp),
       count(*) as failed_logins
FROM dba_audit_trail
WHERE returncode = 1017
  AND --1017 is invalid username/password
    timestamp > sysdate - 30
GROUP BY username, os_username, userhost, client_id, trunc(timestamp);
Comment

PREVIOUS NEXT
Code Example
Sql :: sql change table name 
Sql :: day of the week sqlite 
Sql :: how to check database username and password in postgresql 
Sql :: mssql remove column 
Sql :: t-sql find object by name 
Sql :: funzioni plsql 
Sql :: sql reset auto increment 
Sql :: psql is not recognized 
Sql :: Odoo Service is not coming up with postgresql read replica (slave) 
Sql :: liquibase update row 
Sql :: change default maximum runtime mariadb from phpmyadmin 
Sql :: how to start mysql in terminal 
Sql :: for loop postgresql 
Sql :: oracle check numeric 
Sql :: how to create a variable in mysql 
Sql :: mysql add comment to column 
Sql :: my sql version 
Sql :: oracle view source 
Sql :: oracle current timestamp insert statement 
Sql :: create table mysql example auto_increment 
Sql :: access the postgres psql 
Sql :: mysql change data type of column 
Sql :: mysql select utc time in eastern time 
Sql :: find most frequent value in sql column 
Sql :: string split in sql server 
Sql :: mysql change primary key 
Sql :: show all public tables sql 
Sql :: oracle asynchronous procedure 
Sql :: combine two columns using sql query 
Sql :: show size database mysql 
ADD CONTENT
Topic
Content
Source link
Name
5+2 =