Hacking Oracle
by David Crowson at 12:42 14/07/04 (Blogs::Dave)
Need to take full control of an Oracle database, but don't have any of the passwords ?

This works.....

e.g.For a database called TEST

Login as the Oracle owner, or sysadmin

1.Shut the service OracleTEST
2. Delete the $ORACLE_HOME/pwdTEST.ora file
3. orapwd file=$ORACLE_HOME/pwdTEST.ora password=numpties entries=10
4. oradim -edit -sid TEST -intpwd numpties -startmode auto -pfile $ORACLE_HOME/initTEST.ora
5. start the service oracleTEST
5. svrmgrl internal/numpties
6. Dance and sing, for verily you are a bofh of the highest order......

Muhahahahaha...

(That should be good for a least a 3-month extension to the contract:)

--
bombholio
<< Mojo MOD slow on the uptake >>
Powered by
Powered by Novacaster