RE: Migrate users from 10-11

From: <Joel.Patterson_at_crowley.com>
Date: Wed, 30 Nov 2011 11:20:01 -0500
Message-ID: <C95D75DD2E01DD4D81124D104D317ACA1B8BDA2049_at_JAXMSG01.crowley.com>


dba_users has some spots. The identified by values clause now causes an ora-00600. (Turns out this trick has never been supported by oracle).

It works from 11g also:

select 'alter user &&v_user identified by values '||''''||b.password||''''||';' from dba_users a, sys.user$ b
where a.user_id = b.user# and a.username = upper('&&v_user');

DESC DBA_USERS
 Name



   ...
 EXTERNAL_NAME                                  
    PASSWORD_VERSIONS                              
    EDITIONS_ENABLED                               
 AUTHENTICATION_TYPE                            

Joel Patterson
Database Administrator
904 727-2546
-----Original Message-----
From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of D'Hooge Freek Sent: Wednesday, November 30, 2011 10:55 AM To: niall.litchfield_at_gmail.com; stmontgo_at_gmail.com Cc: oracle-l_at_freelists.org
Subject: RE: Migrate users from 10-11

Niall,

It is true that the hash changed in 11 (with case sensitive passwords now), but the old hashes are still accepted. I think there is even a flag that tells you if this the password is using the old or the new method.

Kind regards,  

Freek D'Hooge
Uptime
Oracle Database Administrator
email: freek.dhooge_at_uptime.be
tel +32(0)3 451 23 82
http://www.uptime.be
disclaimer: www.uptime.be/disclaimer

-----Original Message-----
From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Niall Litchfield Sent: woensdag 30 november 2011 16:48
To: stmontgo_at_gmail.com
Cc: oracle-l_at_freelists.org
Subject: Re: Migrate users from 10-11

The password hash changes in 11! Why didn't you just allow datapump to create the users (or whisper it not in Gath) just perform a database upgrade?
On Wed, Nov 30, 2011 at 3:11 PM, steve montgomerie <stmontgo_at_gmail.com>wrote:

> Greetings Oracle List!
> We're moving an Oracle Database to a new Server upgrading from 10 to
> 11 with Datapump. Can we migrate the schema's without
> knowing/changing the passwords?

-- 
Niall Litchfield
Oracle DBA
http://www.orawin.info


--
http://www.freelists.org/webpage/oracle-l


--
http://www.freelists.org/webpage/oracle-l


--
http://www.freelists.org/webpage/oracle-l
Received on Wed Nov 30 2011 - 10:20:01 CST

Original text of this message