RE: Migrate users from 10-11
Date: Wed, 30 Nov 2011 11:20:01 -0500
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');
EXTERNAL_NAME PASSWORD_VERSIONS EDITIONS_ENABLED AUTHENTICATION_TYPE
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
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.
Oracle Database Administrator
tel +32(0)3 451 23 82
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
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
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-lReceived on Wed Nov 30 2011 - 10:20:01 CST