Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Exciting Oracle News :: Oracle DB Worm Code Published :: Oracle Passwords Crack in Mere Minutes

Re: Exciting Oracle News :: Oracle DB Worm Code Published :: Oracle Passwords Crack in Mere Minutes

From: <bdbafh_at_gmail.com>
Date: 3 Nov 2005 16:17:01 -0800
Message-ID: <1131063421.200063.227940@g49g2000cwa.googlegroups.com>


Joel,

This seems simple enough to me:

select 'connect '||username||'/'||username||'@<mydb>'||chr(10)||

       'SELECT ''ALTER USER ''||username||'' PASSWORD EXPIRE ACCOUNT LOCK;'' from user_users;'
  from dba_users
 order by username
/

connect, spool and run it.
edit the spool file, read it and run it.

if the account is open with a username/password being the same, it deserves to be expired and locked - with questions asked later.

applying that to production might involve some politics, however.

use at own risk ... blah, blah ...

bonus points if it creates a table named "X" :)

-bdbafh Received on Thu Nov 03 2005 - 18:17:01 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US