hi!
My boss told me that the script should DISPLAY ERROR if FAILED_LOGIN_ATTEMPTS is greater than 3... HOW should I do THis?
PLease talk to me like im moron, im just a beginner... or please give a sample code to do this.. thanx a lot...
HERE's THE SCRIPT:
export ORACLE_SID=ohkrm92
export ORAENV_ASK=NO
. oraenv
echo "
select * from dba_profiles
where resource_name in ('FAILED_LOGIN_ATTEMPTS ')
order by profile;
" > t2.sql
echo "@t2.sql" | sqlplus -s username/password
HERE'S THE OUTPUT:
PROFILE -------- RESOURCE_NAME -------- RESOURCE
DEFAULT -------- FAILED_LOGIN_ATTEMPTS -------- PASSWORD
3
HOW SHOULD I MAKE A SCRIPT THAT WOULD DISPLAY AN ERROR MESSAGE IF FAILED_LOGIN_ATTEMPTS is GREATER THAN 3...
PLEASE help...
thank you....