Search
 
SCRIPT & CODE EXAMPLE
 

SQL

oracle list invalid password logon denied

-- 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 :: oracle failed login attempts 
Sql :: ifnull postgres 
Sql :: mysql calculate age 
Sql :: mysql id reset 
Sql :: check database size in mysql 
Sql :: SQL select past number of days 
Sql :: mysql show foreign keys 
Sql :: sql get tables from current database you working with 
Sql :: add many column to sap iq table 
Sql :: mysql where in array 
Sql :: sql current timestamp 
Sql :: oracle list tablespaces 
Sql :: copy all values of a column to another column in sql in same table 
Sql :: sql copy table 
Sql :: sql server alter table add column datetime default current_timestamp 
Sql :: get a list of table names and field names from SQL 
Sql :: how to check mysql version in xampp 
Sql :: xampp mysql database server is not starting mac m1 
Sql :: sql primary key with multiple columns 
Sql :: query string starts with vowels 
Sql :: sql column values comma separated 
Sql :: select count from table mysql 
Sql :: postgresql group by month and year 
Sql :: create row number in sql 
Sql :: Configure MYSQL to run on another port number, other than the default port 3306 ubuntu linux 
Sql :: Database "mem:testdb" not found, either pre-create it or allow remote database creation (not recommended in secure environments) [90149-200] 90149/90149 (Help) 
Sql :: show tables sql 
Sql :: get monday of current week sql 
Sql :: data types sql 
Sql :: how to get mysql db size 
ADD CONTENT
Topic
Content
Source link
Name
3+5 =