Restoring all Users after migration to new environment without Full Import

Hallow all,
We are migrating our database from windows to Sun Solaris.
We came to situation that, we have lots of created users who do there transactions on other users tables. Now I don't want to do full import & let oracle do all the work for me. Cause we will change the structure of tablespaces & the default tablespaces for users.
Now we came to problem,
We want to create all the users without asking everyone to change his password, if we put default password for all.
I want your opinion about if the following will work:
1- I create the new tablespaces.
2- I create the main users & assign there default tablespaces.
3- on the old database I create a table
create table user_list as select * from dba_users;
4- I import the needed main users
5- I import user_list table into system account;
6- I write procedure with cursor on user_list then create users while looping on that cursor with any password.
7- I write procedure with cursor on SYS.USER$ then
alter user User_Name identified by values 'F894844C34402B67';
here the Hashed value will be selected from the User_list table where name=name on both tables.
What you think about the above steps, especially No. 7 ?
any other suggestions to do the work ?
Best Regards,
Naji Ghanim

Hi ,
Spool the create users scripts and run in new db.
select
'PROMPT Create User '||username||'...' text,
'create user "'||username||'" identified '||
decode(PASSWORD, 'EXTERNAL','externally ','by values '''||PASSWORD||''' ')||
decode(DEFAULT_TABLESPACE,'SYSTEM',null,' default tablespace "'||DEFAULT_TABLESPACE||'" ')||
decode(TEMPORARY_TABLESPACE,'SYSTEM',null,' temporary tablespace "'||TEMPORARY_TABLESPACE||'" ')||
decode(profile,'DEFAULT', null, ' profile "'||PROFILE||'" ')||';' text
from dba_users
where username not in ('ADAMS','ANONYMOUS','BLAKE','CLARK','CTXSYS','DBSNMP','DIP','DMSYS','EXFSYS','HR','JONES','MDDATA','MDSYS','MGMT_VIEW','ODM','ODM_MTR','OE','OLAPSYS','ORDPLUGINS','ORDSYS','OUTLN','PERFSTAT','PM','QS','QS_ADM','QS_CB','QS_CBADM','QS_CS','QS_ES','QS_OS','QS_WS','SCOTT','SH','SI_INFORMTN_SCHEMA','SYS','SYSTEM','TRACESVR','TSMSYS','WKPROXY','WKSYS','WK_TEST','WMSYS','XDB')
You can modify the create user script for the new tablespaces.
HTH,
Thomas.

Similar Messages

  • Office for mac not working for all users after migration

    Recently purchased macbook retina display and used migration assistant to move everything over from a macbook pro 17" (late 2011). After the migration my login (admin rights) has no problem on the new macbook, but my wife login cannot use the Office for Mac without being asked to do an install.
    Problem is, the version we have goes through the install and then asks to 'register' the product and the version is no longer supported so you cannot register, therefor the program will not run.
    Am I missing something here? Everything still works on both of our sign in's on the old macbook pro, and on the new macbook retina, office works on my sign in only.
    The original install was a download version, so there are no 'disks' to do a re-install.
    Any suggestions?

    You need Acrobat 7.1
    Is your Office 2004 up to date?

  • Unable to open indesign after migration to new mac all other programs open and work.

    Unable to open indesign after migration to new mac all other programs open and work. Why? Running Yosemite 10.10.1 Indesign CS5

    The keyword is "migration." Migrating or copying files for Adobe applications usually does not work. Not all of the necessary subsidiary files are copied to the right location.
    You'll need to first clean up the mess with this tool:
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    Then download an installer from here:
    Other downloads

  • All the SSIS Packages are not editable to the all users after deploying to the other server

    Hi All,
    I am using sqlserver2012.
    How to make all the SSIS Packages are not editable to all users after deploying to the other server. is there any way to achieve this,
    if yes, could share the information how to do....
    Thanks in advance....
    RamarajuC

    Typically, you change the protection level as listed in the following steps:
    During development, leave the protection level of packages set to the default value,
    EncryptSensitiveWithUserKey. This setting helps ensure that only the developer sees sensitive values in the package. Or, you can consider using
    EncryptAllWithUserKey, or DontSaveSensitive.
    When it is time to deploy the packages, you have to change the protection level to one that does not depend on the developer's user key. Therefore you typically have to select
    EncryptSensitiveWithPassword, or EncryptAllWithPassword. Encrypt the packages by assigning a temporary strong password that is also known to the operations team in the production environment.
    After the packages have been deployed to the production environment, the operations team can re-encrypt the deployed packages by assigning a strong password that is known only to them. Or, they can encrypt the deployed packages by selecting
    EncryptSensitiveWithUserKey or EncryptAllWithUserKey, and using the local credentials of the account that will run the packages.
    Please Mark This As Answer or vote for Helpful Post if this helps you to solve your question/problem. http://techequation.com

  • After migrating to new Mac iCal pop-up screen is mostly off screen ...

    After migrating to new Mac iCal pop-up screen is mostly off screen and I can't seem to find a way to get it so that it pops up in the middle of the screen or anywhere else where I can see the whole thing.

    This is a known bug which began to occur with the 10.4.8 update. I suggest you file a bug report with Apple. Its quite annoying and hopefully, the more people who contact Apple about it, the more importance they will give to fixing the problem.

  • After migrating a new Mac Book Pro from Time Capsule, I noticed that I lost a group of Favorites on the older iMac. The puzzling thing is that the Favorites are on my iPhone--not the old iMac or the new Mac Book Pro. How do I get the Favorites back?

    After migrating a new Mac Book Pro from Time Capsule, I noticed that I lost a group of Favorites on the older iMac. The puzzling thing is that the Favorites are on my iPhone--not the old iMac or the new Mac Book Pro. How do I get the Favorites back?

    If you are syncing using iCloud, try going to System Preferences/iCloud (computers) and checking Safari. If it is checked, try deselecting it, wait 10-15 seconds, and then check it again.

  • Question: How do I open CS5.5 after migrating to new laptop w/ Mac OS 10.8.4?

    question: How do I open CS5.5 after migrating to new laptop w/ Mac OS 10.8.4? I received a dialogue box stating I needed to run Java SE runtime (or something to that effect), when I ok'd it, and try to open cs5.5 Indesign, the program quits on startup. If I uninstall program & reinstall, will my documents be unscathed, or are they toast? Help!

    Hi Art Bunny Rabbit,
    Migration from one machine to other causes problem most of the time. So I recommend you to reinstall the software. Done worry none of your documents will be effected.
    Regards,
    Romit Sinha

  • I had my ipod synced to an old computer that I no longer have how can i get all my stuff on the new itunes without erasing it

    I had my ipod synced to an old computer that I no longer have how can i get all my stuff on the new itunes without erasing it

    Most Windows users don't.
    Purchase an external hard drive and use the backup software that comes with it to backup files from your computer.
    Buy TouchCopy and install it on your new computer, connect your old iPod and transfer your songs to your computer.

  • I have over 16,000 songs in my iTunes library so I manually manage the music on all my devices. I bought a new iPod to replace an older one. I'd like to transfer all 900 songs to my new device without having to handpick each song. Is there a way to do it?

    I have over 16,000 songs in my iTunes library so I manually manage the music on all my devices. I bought a new iPod to replace an older one. I'd like to transfer all 900 songs to my new device without having to handpick each song from my music library. Is there a way to do it?

    No. I have quite a few more 16,000, so I don't manually manage. Making playlists for each device makes things much easier to organize. You can create regular lists of essential tracks and smart playlists to automatically catch new content, top rated, most played etc. If you'd done it this way all along configuring a new or restored device would be the work of moments.
    tt2

  • No cursor in address bar after opening a new tab on full screen mode

    Hello all!
    When opening a new tab in full screen mode, I noticed that the cursor dissappears from the address bar. Since I cannot write the address without clicking the bar, I think this is a very annoying issue...
    Does anyone have the same problem?
    Thank you.

    Try resetting Safari. From the menu bar click Safari / Reset Safari. Select the top 7 buttons, click Reset.

  • User ID Not Recognized in App Store after Migrating to new Mac

    I migrated to a new Mac using Migration Assistant being careful to create an identical user account on the new Mac. All went fine. When it came time to update apps through MAS, some apps updated and some would not (e.g. Pixelmator) and MAS tells me "You have updates available for other accounts" and asks me to log out and sign in as another user – but the user name is exactly the same as my current user name. There is definitely only one user account on the Mac, so what is going on?

    Cracked it – thanks. The message that MAS displays is not clear and looks like it's referring to User Name. Also MAS does not have a Preferences dialog where you would normally enter Account/Apple ID details, but it's under the Store menu item – confusing.

  • SBS 2008 - SBS Console and AD errors after migration to new hardware

    Hi there,
    I'm trying to work out how to fix some of the errors and random behaviour I'm experiencing with the SBS 2008 console and AD related matters since I had to quickly migrate SBS 2008 to new hardware using Windows Server Backup after a failure of the old server.
    In my haste to get our email and ftp services back up and running (which use Smartermail and Filezilla respectively instead of Exchange etc) I overlooked the fact that the new server had 3 NICs installed and not one and so restored SBS 2008 and loaded up new
    drivers for those and other hardware that had changed (such as the graphics card and mobo. I have since removed the two additional NICs by disabling them on the mobo).
    Whilst I got the server up and running again with email and ftp services, even though I currently don't use any AD related stuff directly I have since noted that if I try to say view a list of users that I had previously created via the SBS console, more often
    than not it will show no users, and then randomly it will (but when you do see them you can't edit or delete them. I'm aware that I have probably broken a number of golden rules in doing this 'migration' but having a metaphorical gun to my head meant that
    I rushed things out of desperation. 
    Common errors that I experience generally will say things like 'Current security connect is not associated with an Active Directory domain or forest' if I try to list users, or DC not found for domain "xyz.local' etc. I have been searching the net and
    trying out some things to fix this but I'm like a dog chasing its tail as I'm not so clued up on server related issues as I am with workstation problems, so if anyone could at least point me in the right direction I would be very grateful. If you require any
    info from me (eg diag logs etc) I will be happy to provide them!
    Regards,
    Dave

    Hi Dave,
    Based on current situation, please run SBS BPA and fix all that it can find, then monitor the result. For more details, please refer to the following KB.
    Windows SBS Best Practices Analyzer (BPA)
    Meanwhile, please refer to the following article and repair SBS console.
    Repair the Windows SBS 2008 Console
    By the way, I noticed that you had got some error messages (such as: “DC not found for domain” and so on). Would you please let me know complete error messages? In addition, when you migrate SBS 2008 to the new hardware, had you done any preparation for
    that Source Server? For more details, please refer to the following article.
    Migrate Windows Small Business Server 2008 to New Hardware
    If any update, please feel free to let me know.
    Hope this helps.
    Best regards,
    Justin Gu

  • ActiveSync is not working properly after migrating to new Exchange 2013 SP1 server?!

    Few weeks ago we have added new Exchange 2013 SP1 onto our existing Exchange 2007 environment. I have migrated my mailbox to the new Ex2013 server. Everything (send/receive - internally/externally, OWA, OutlookAnywhere) for me and the existing Ex2007
    users works fine. The only thing I have trouble with is the ActiveSync! After migrating to the new Ex2013 server my phone stops getting new emails…, existing Ex2007 users don’t have any problems with their mobile phones.
    I did ActiveSync test for my user account with ActiveSync Tester and here is what I have:
    As you can see from the error above  ActiveSync Tester detects ActiveSync on Ex2013 server however something wrong there with form-based auth?! I can’t see any differences in settings for ActiveSync virtual folders in Ex2007 and Ex2013
    virtual folders?!
    What I’m missing here?! Please help.

    Check if the Exchange Servers group does not have the appropriate permission to the mailbox object in Active Directory.
    To check whether inheritance is disabled on the user:
    1.Open Active Directory Users and Computers.
    2.On the menu at the top of the console, click View > Advanced Features.
    3.Locate and right-click the mailbox account in the console, and then click Properties.
    4.Click the Security tab.
    5.Click Advanced.
    6.Make sure that the check box for "Include inheritable permissions from this object's parent" is selected.
    Ref:
    http://technet.microsoft.com/en-us/library/dd439375(v=exchg.80).aspx
    Also check the Virtual directory authentication
    Microsoft-Server-ActiveSync
     •Basic authentication
     •SSL required
     •Requires 128-bit encryption
    Ref:
    http://technet.microsoft.com/en-us/library/gg247612(v=exchg.150).aspx
    Check the IIS log if you are able to find any error message on it
    Exchange Queries

  • Outlook prompts creds after migration, unless new windows profile created

    HI!
    Outlook keeps prompting credentials after migration for some users. When we create new windows profile for this user, all going well. Autodiscover in browser also keeps prompting for password.
    I checked credential manager (there are no passwords stored), also tried new outlook profile (no help).
    Any ideas?

    2010 SP2 migrated to 2010 SP3. We already tried changing authentications. The problem occurs for random users (not all users). Auth settings on autodiscover virtual directory: Anonymous, Windows, Basic. Auth on exchange (get-autodiscovervirtualdirectory):
    Basic, NTLM, WindowsINtegrated.
    Also i did not mention early - the problem obviously with autodiscover. I can't get autodiscover.xml using browser (keeps prompting for credentials). From another winows profile on the same computer with the same mailbox all going well. So I don't understand
    where should I look to.

  • Bill Presentment Architecture - Migrating to New Environement

    What is the process for migrating changes in the Bill Presentment Architecture to a new environment (UAT or PROD)? Is there a FNDLOAD script? I've looked at the BPA user guide and there does not appear to be any export utilities.

    Thanks to all I have got solution.
    Regards
    [email protected]
    Ravi.
    Edited by: Ravi G on May 20, 2013 1:54 PM

Maybe you are looking for

  • How to set up an iMac g3 with new hard drive

    I have an iMac g3 grafite se, the person before me forgot their admin password so I bought a new hard drive for it but I don't know how to re install the software I turned the iMac on and I just had a grey blank screen would really appreciate some he

  • Short dump while running OLI3BW

    Hello, I'm getting a runtime error and a short dump  when I try to fill the setup tables for Purchasing. This is the error mesage: Error in ABAP application program.                                                                                The c

  • Problems printing to file in LR4

    I am trying to print a jpg to file in LR4. All the settings in the print module seem to be correct an I have done this before. I am print (to file) a 20X16 print at at 240 ppi  sharpening = standard  paper = glossy jpg quality = 100% . Printing to a

  • How do you restore iCal calendars in Time Machine

    I recently updated to iCloud from Mobile Me and when I opened iCal I noticed that the Mobile Me calendars and the iCloud Calendars were the same, so I deleted all my Mobile Me calendars and to my horror realized after reopening iCal that all the cale

  • How to send a SQUARE WAVE to PXI-6259 over the LAN

    howcan I  send a SQUARE WAVE  to PXI-6259 over the LAN, is there any example or link any one can send me , thanx in advance.