Search
 
SCRIPT & CODE EXAMPLE
 

SQL

oracle list invalid password ORA-01017

-- 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 :: alert table name mysql 
Sql :: sql getdate minus 1 day without time 
Sql :: set username and password for postgresql database 
Sql :: postgresql reset auto_increment index 
Sql :: check database size sql 
Sql :: set statiscis on in ssms 
Sql :: postgres remove foreign key constraint 
Sql :: sql server if exists update else insert 
Sql :: oracle sql assign unique number to each grouping 
Sql :: mysql id of inserted row 
Sql :: copy from folders in sql server 
Sql :: create user mysql 
Sql :: sql query to copy data from one column to another 
Sql :: mysql remove definers 
Sql :: laravel migration sql dump 
Sql :: mysql drop column 
Sql :: check mysql version phpmyadmin 
Sql :: mysql current user 
Sql :: select insert new table sql server 
Sql :: create database store 
Sql :: how to install sqlite3 python 
Sql :: sql get number of days between two dates 
Sql :: mysql update table from select on another table 
Sql :: how to find the most occuring in SQL 
Sql :: ilike for date postgres 
Sql :: mysql set primary key 
Sql :: show all public tables postgres 
Sql :: sql last 3 rows 
Sql :: sql server convert string to date 
Sql :: mysql check db size 
ADD CONTENT
Topic
Content
Source link
Name
3+1 =