Microsoft
Software
Hardware
Network
Question : oracle database user password expiry automated report
Hi friends,
I would like to generate a password expiry report from oracle 11g database (as system/sys user) basically who’s account is nearing expiry date.
Let’s assume I have six environments and each environment running 7 databases.
Could you advise the best way/trick to generate this report? In automated way or on ad-hoc single execution/click?
Can oracle enterprise manager manage/alert this?
I was thinking of a SQL (select * from dba_users where expiry_date < thersold), pass this SQL against each database, from a batch file and generate report. But I’m pretty sure mine is from old school :)
I have system access to all databases and can schedule this on windows vista/linux/Oracle EM
Any help would be much appreciated
thanks in advance
Answer : oracle database user password expiry automated report
The script sounds reasonable to me. I would add that if the databases are on the same network as an email server or email relay, I would have the database email you directly using UTL_MAIL and DBMS_SCHEDULER.
This eliminates the OS scripts and cron.
Random Solutions
A hibernate query question
ADO Update Multiple Access Databases / Error with Null Date Value
Datatype mismatch error in sql code
In workbench: manage connection error to local socket/pipe
Import/Export feature of SQL 2000 in SQL Express 2005
"pci system error on bus device function 007ah" and others on HP NetServeer E800
Mysql Failover
Norton Ghost 15.0 Licensing
Copy database wizard and have this as schedule
Fox 9 and PDF Files