Dropping Non-System Users

I've been looking at our Oracle database here in the office and it seems it's been some time since someone sat down and wore a DBA hat for some maintenance and much needed clean up. I was going to start and remove the user roles and assigned schemas for all non-system accounts that had no tables and or data in it. I was wondering how I can tell the difference between a Oracle required system user needed for RDBMS operations or if it was a post install added user / role / schema? Just trying to pro-actively clean up and remove the clutter. Before any changes were made to this system, I used RMAN to create a complete full backup of the entire system state & data.
Thanks for any info and or help!

I was going to start and remove the user roles and assigned schemas for all non-system accounts that had no tables and or data in it.What if it is a database account that, although not owning any objects (tables) in the database, has been granteed access (SELECT , INSERT/UPDATE/DELETE) to another schema's objects ? This non-owning database account might be in use for a particular application or user.
This :
select username from dba_users
where username not in (select distinct(owner) from dba_objects);will list database accounts that don't own objects.
You must be careful not to drop pre-seeded accounts that may not be owning objects but may be needed for various database functions.
Similarly, you must be careful not to drop accounts that are used by applications to access data in other schemas.
Hemant K Chitale

Similar Messages

  • How to start weblogic server with non system user

    I want to start wls6.1 as an nt service with different user name other than
    system.
    Thanks
    Madhu

    I have installed weblogic server as an nt service. In install Nt service
    cmd, if I make any change in the script, I have to uninstall and install it
    again. I do not know where to specify the weblogic.management.username =(Non
    system user)
    I have created a user name in NT server and added them to Administrator
    group. I have also modified in file realm propertes i.e to boot and shutdown
    the non system user.
    I have to start weblogic server as a non system user.
    Thanks
    Madhu
    I think I replied to some of the questions when I found out the answers.
    Only thing I did was hit reply, instead of reply group. Might it went to
    persons e-mail. That might be the reason, the answers I posted is not found
    in the newsgroup
    Thanks
    freelance_code_inspector <[email protected]> wrote in message
    news:[email protected]..
    "m holur" <[email protected]> wrote in message
    news:<3bfbafce$[email protected]>...
    I want to start wls6.1 as an nt service with different user name otherthan
    system.Madhu,
    Specify weblogic.management.username={Non system user} in your -D
    option. BTW, just curious, have observed that u have been posting a
    lot of weblogic questions lately, did u find out the answers? If so, u
    should share it back to this community.
    Regards
    drit
    Freelance Java Developer/Code Inspector
    http://www.geocities.com/doc_i_t/CodeInspectionService.html

  • Starting a Weblogic server as non system user

    Can we start a Weblogic server as a non system user? I didn't find any option to
    pass in the user name to the startup script? Is there any undocumented parameter
    to pass in the user name? The reason I am suspecting this can be done is one opf
    the ACLs for weblogic.Server lists boot permissions and this would seem to indicate
    whoever has boot permissions on weblogic.Server should be able to boot weblogic
    server.
    TIA
    Hiren

    [att1.html]

  • Want to drop non-system table from system tablespace

    My system tablespace was having some user tables , so I moved those tables to user tablespace. Now that tables are showing in both the tablespaces ex. RET_OFF is showing in system as well as users tablespace I want to drop it from system tablespace only . Can I do it . plz help

    Hi Florian , plz check the below details . I am working on Oracle 11g on Windows platform.
    SQL> alter table REF_VAT_OFF move tablespace vatsoft;
    Table altered.
    SQL> select owner, table_name, tablespace_name
    2 from dba_tables
    3 where table_name='REF_VAT_OFF';
    OWNER TABLE_NAME     TABLESPACE_NAME
    KNVATCEN REF_VAT_OFF     SYSTEM
    OWNER TABLE_NAME     TABLESPACE_NAME
    KNVAT REF_VAT_OFF     VATSOFT

  • Starting a weblogic server as a non system user

    How to Start Weblogic server as an NT Service with the user other thant
    "system". I have to start weblogic server with a differnt user name.
    Thanks
    Madhu

    I have included the user in the administrator group and the group has the
    permission to boot. But still it does not work. It throws an exception
    Fatal
    Initialization exception java.lang.illegalaccesserror unable to open process
    token--bad domain name.
    Thanks
    Madhu
    Jean-Michel GAUTREAU <[email protected]> wrote in message
    news:3c036d56$[email protected]..
    try creating a new user and make it a member of the Administrator group.
    Then verify that the Administrator group is a grantee in the "boot"
    permission in the weblogic.server ACL.
    To start WLS with this new user, try to specify this user in the wlscommand
    line (i think it must be like -Dweblogic.boot.user=<user name>, but i'mnot
    sure, so take a look at the WLS6 help).
    hope this will be useful
    best regards
    JM Gautreau
    WLS ADministrator
    France
    "m holur" <[email protected]> a écrit dans le message news:
    3bfac4d2$[email protected]..
    How to Start Weblogic server as an NT Service with the user other thant
    "system". I have to start weblogic server with a differnt user name.
    Thanks
    Madhu

  • Non admin user - changes not saved (Safari settings, system prefs, etc.)

    iMac, 2 users, one is administrator and other is standard user. Recently, in the non-admin user account, it has become impossible to make any changes. For example, adding an application to the the Dock, after logging out and back in next time, the application is not in the Dock any more. Also, making changes to the prefs in Safari, changes are not saved.
    I noticed this after installing FireFox v4. I installed it as admin whilst in the non-admin users account. However, I don't believe that the installation of FF has anything to do with the problem, it just highlighted it. I've checked the permissions for the various directories that hold prefs info such as user/libraries/application prefs/etc. etc. and also Safari prefs. Nothing I can see that has changed in system prefs.
    Any ideas on what has caused the problem (kids are known to fiddle from within the non-admin account) and any ideas on how to fix it?
    Thanks

    Hi PPRuNe,
    You could try making the standard user an Admin too. To do this, make sure you are logged in to the standard user, go to System Preferences > Accounts > Standard user (you may have to unlock the padlock) > Allow user to administer this computer
    This will allow changes to be made without being prompted for a password all the time.
    However, if you had Parental Controls on, they probably won't work on an admin account because as an admin you have complete control over a computer, so the computer thinks there is no point in having the controls turned on. And if the kids are known to "fiddle," just think carefully!
    Hope this helps you.
    Chris.

  • IPad with wifi only cannot send sms or mms to non apple users. Operating system is 8.1.3

    I am using an iPad 2 with iOS 8.1.3. I was told that with this operating system, I would be able to send sms or mms to non-iso users. I was able to do so when I originally upgraded to 8.1.3, but am no longer able to send. The person's name comes up in red and there is an exclamation point.

    An iPad cannot natively send an SMS. The SMS text protocol sends its data within the voice channel spectrum of a cell phone voice connection. So, only a cell phone can actually send SMS texts, and only over a cellular voice connection.
    If you were doing it before, you must have been using an app. There are apps that will allow you to send SMS texts via cellular providers SMS-email gateways, e.g. as an email to [email protected]

  • Non Admin System User in Oracle Linux

    When installing OL 6-3 I am asked to specify the root user and at the end of the installation a non admin system user.
    I am slightly confused as to the purpose of this non admin system user.
    Q1. What is if for / not for and how does it differ from root ?
    Q2. Is is really just the Desktop Admin user ( whereas root is the superuser for the server as a whole ) ?
    Q3. Now that I have specified this non admin user - how do I change this role to another user I have created ( I made a poor choice of username in the first place ! ) i.e. does this non system admin user have any specially designated roles or privileges at Linux level, which I need to enable on the other user that I now wish to be the non admin system user ?
    Advice greatly appreciated,
    Jim

    Jimbo wrote:
    When installing OL 6-3 I am asked to specify the root user and at the end of the installation a non admin system user.
    I am slightly confused as to the purpose of this non admin system user.
    Q1. What is if for / not for and how does it differ from root ?The viewpoint on modern *nix is that:
    - Logging in remtoely directly as root is often a bad thing to be discouraged, and may pose a security threat.
    - Generally logging in as root is a bad thing; best practice is to acquire superuser privileges only when needed.
    This is so much so that some (most?) distributions are preventing a direct login by root at all, and then need a
    >
    Q2. Is is really just the Desktop Admin userNo really, essentially each user can maintain (administer) his own desktop ... though I expect there are ways of restricting this.
    ( whereas root is the superuser for the server as a whole ) ?This is essentially true.
    >
    Q3. Now that I have specified this non admin user - how do I change this role to another user I have created ( I made a poor choice of username in the first place ! ) i.e. does this non system admin user have any specially designated roles or privileges at Linux level, which I need to enable on the other user that I now wish to be the non admin system user ?most gui tools running on root will realise root privileges are needed and ask for it.
    From a terminal window:
    To change to the root user use:
    su -
    to check to another user you may:
    su - otheruser
    ...... However this user may have trouble running a graphical program ...
    ( The alternative ssh -X otheruser@localhost .... is a simple way round this)
    >
    Advice greatly appreciated,
    JimJust as I finished preparing this I noticed Dude has already answered. I think we're saying essentially the same thing. I've fleshed things out a little more. Please be aware I could be had up for technical/conceptual inaccuracies in my reply; so please take as a general direction.

  • Multi-user system, non-admin-users get "error 46" when downloading quicktim

    Thanks in advance if you have some idea about where the root cause is.
    Error message:
    "Error 46: Could not load or find the QuickTime ActiveX control."
    Context:
    - WinXP SP2 fully patched (as of 06/20/2006)
    - Multiple users: 1-Admin, all others a member of the Users group
    - Simple File Sharing is enabled (this problem does not change when this option is disabled)
    - iTunes 4.9.x and QuickTime 7.1 installed
    - Programs have been uninstalled and reinstalled several times, with no change
    Symptoms:
    - All system users can view quicktime movies when they are embedded in web pages.
    - Administrator can launch quicktime and view *.mov files, all others get Error 46 (see above) when attempting to launch quicktime or double-clicking on .mov files
    - File association properties (under Contorl Panel | Folder Options | File Types) shows .mov opens with QuickTime Player (deselecting this displays WMP as the application)
    - Users Browsing to a directory where .mov files are located, displays the WMP icon instead of quicktime (as under folder options)
    This all used to work. It appears that this became broken in the last month or two, after either patching XP, or installing QuickTime 7.1 to gain H.264 codec functionality.
    Is there a guaranteed way to force system wide file assoc that is reliable?
    Is there a tool that parses the registry and displays what activeX controls are in use for a particular system operation?
    Thank you!
    Windows XP Pro
      Windows XP Pro  

    Fixed this using http://www.sysinternals.com/Utilities/Regmon.html and regedit.exe.
    On my system, found that non-admin users were being denied access to these registry keys:
    HKEYCLASSESROOT\QTOControl.QTControl
    HKEYCLASSESROOT\QTOControl.QTControl.1
    fix (both): add group users: read
    That's because the non-admin accounts are members of the "users" group on my system. You may need to adjust this to match what is on your system.
    Regedit can modify these permissions (but don't do it unless you are confident you can recover if you cause a problem). An easy fix, once the problem is identified. Some of you have already figured this out already.
    Use regmon to get comfortable with how it works, make sure you grok the filtering, it's your friend.
    Modifying the registry at your own risk. Remember to use a registry backup utility! I used http://www.fixregistry.com/download.htm "Registry Healer"
    All non-admin users are operational at this time. I did not have to update iTunes and H.264 content works!
    So it looks like this is a bug in the QuickTime 7.1 installer? Anyone have any insight about why this is happening with some regularity (at least according to the message board posts I'm seeing this month...)
    Maybe the info is some help,
    gwG
    Windows XP Pro

  • A Solution for Enabling Sandbox activation by non admin users for testing (OIM 11gr2 PS2)

    I just wanted to post what i came up with as a solution the the problem of not being able to Test the effects of sandbox changes for non admin level users prior to their publication.  We are constantly making changes to the UI through sandboxes, the problem is rolling a sandbox back isn't easy, and we cannot be sure of the effects they will have on non administrative users until they are published, since the out of the box sandbox link isn't available to non Sysadmin level users.
    To allow these non admin user accounts to test the effects of sandbox changes in our development environment, I did the following (as always, follow at your own risk):
    Create and activate a new sandbox.
    Close all open tabs (including the Home and Sandbox tabs) and click the "Customize" link.
    Click the view -> source drop down in the upper left.
    After the source is visible, click the Accessibility or Sandbox link to find the area that you will add the new "UserSandboxTest" (call it whatever you want) link.
    Add a new commandImageLink directly in the panelGroupLayout: horizontal item before the "switcher" item (see the UserSandboxLink in my screen shot below):
    Edit the Link you just inserted, Entering whatever you want the link to display as in your browser in the "Text" field.
    Export the sandbox.
    Unzip the exported sandbox and navigate to the IdmShellV2.jspx.xml (path should be: \templates\mdssys\cust\site\site).
    Edit the IdmShellV2.jspx.xml file and find the new item you added in step 5.
    Add the following to the commandImageLink xml item: actionListener="#{pageFlowScope.uiShell.context.launchSandboxes}" rendered="#{oimcontext.currentUser.roles['SANDBOX_USER'] != null}".  Note: I used a new custom enterprise role, SANDBOX_USER, to control the display of the new link, You should substitute whatever EL conditions you need in the rendered property.
    Save your IdmShellV2.jspx.xml file and zip the contents back up, just like you would for any other customization.
    Import your newly edited sandbox back into the target environment.
    Publish the sandbox.
    This seems to work great for allowing us to test other sandbox changes effects on different types of users. 

    On step 10, adding the check to determine if the user should have access to the role ended up breaking access to the unauthenticated pages like the self registration page and the forgot userid/user login pages.  Non-authenticated users cannot execute the method to return the role, so that fails which leaves the page not loading.  To correct this I changed the rendered property to rendered="#{securityContext.authenticated}".  This prevents the link from displaying on non authenticated pages, but displays for anyone else who's logged on.  We only plan on using this in our development environment where no one but developers and system admins have access anyway, so it's not an issue that everyone will see the link.  I wouldn't recommend putting this in an environment where end users will be logging in and testing without developing a method (or finding another way to limit the display) that can be called by unauthenticated users to prevent them from seeing the link.

  • App is getting damaged when I replace it as non-administrative user

    Hey people,
    When I want to update e.g. VLC Player, as an administrator, it is simple: I just download the dmg, mount it and drop the new version of the VLC.app into the Applications folder to replace the old VLC.app. Few days ago I created a new admin account and changed my old account  to normal user. If I want to install new software that I did not use before, everything works as expected: when I drop an .app package into the Applications folder, I need to type in the admin login and password to allow this operation, then the package will be copied and I can start the new app.
    My problem:
    If I want to update the software by replacing the app as non-administrative user, the system first will promt me to keep both files, replace an older one or to stop - so far so good. BUT, when I select to replace, the copying process actually begins before the administrator prompt and it results in corrupted file. I also tried to create a new user account. So then I need first to remove the broken app (admin prompt once again) and then to install the new one (3rd admin prompt).
    I attached some screenshots to visualize the issue. I have the same issue on two different macs with different  user/admin names. I hope you have any idea how can it be fixed.
    1. I download the package:
    2. Mount the package:
    3. Drag the VLC app to the Applications folder (selecting >Authenticate in the prompt)
    4. Copy prompt (>Replace):
    5. Authenticate with administrative user
    6. Error message:
    7. Corrupted file:

    Thanks, you helped me. I had gotten hung up on '--user = <vboxuser>' in the ExecStart line, which works for one of my other services, but not this one.

  • Is Lightroom intentionally made difficult for non-English users?

    Could it be that Lightroom is intentionally made difficult for the non-English user? I came to this forum today hoping to find an answer and all I see is problems when I try searching the forum, and complicated instructions on how to, supposdely, solve this issue. The issue I am facing has to do with localization, compatibility, interoperability and compliance. The problem is that I can't use many of the Lightroom shortcuts. Many of the ones that require the use of a modifier key on my keyboard just don't work. So what if I have a Swedish keyboard? Sweden is one of the most computer literate contries in the world, and Sweden has played a major role in the development of early computers and new technologies. Adobe has a presence in this country, and I'm quite sure Sweden is an important market for Adobe. So why not make Lightroom compatible with the Swedish keyboard? Why should I care to go through complicated instructions on how to hacktivate my keyboard by the means of editing config or script files? Why can't it just work out of the box?
    I feel like this is intentional. Could it be that Lightroom users are only to be found in English speaking countries like USA, UK, New Zealand and Australia? I don't think so.
    Swedish user:
    http://forums.adobe.com/message/1459525#1459525
    Swiss user:
    http://forums.adobe.com/message/4375318#4375318
    German user:
    http://forums.adobe.com/message/3588746#3588746
    http://forums.adobe.com/message/3817657#3817657
    How about the ability to change keyboard shortcut bindings, i.e. custom shortcuts? I just found that this is not even possible in Lightroom! That explains why people take these strange measures and kludgy ways of making custom shortcuts in Lightroom. Changing shortcuts is often times tricky business because you have to change them in respect to other shortcuts. It's likely that one will have to change several keyboard shortcuts to avoid conflicts, etc. Lightroom needs a shortcut editor!
    One should really not even have to change the default shortcuts, Adobe should choose some intelligent key combinations that make sense, and they should just work on any keyboard. I've tried changing the language from English to Swedish in Lightroom settings. The result of this is that nearly all shortcuts are changed to something else, so I would have to re-learn some of the shortcuts I have already learned using Lightroom in English, and of course this also changes the language of the interface which is not something I want. I will have to change my keyboard layout to English to make this work, or get a secondary keyboard, one with English layout. This is something I will only have to do when I work in Lightroom, because many of the professional programs that I use are working just fine with my keyboard. Perhaps Adobe can make the keyboard localization (shortcut maps) as an option, separate from the interface language setting? And for God sake integrate a keyboard shortcut editor for once!

    Another Swiss user on Lightroom forums:
    http://www.lightroomforums.net/showthread.php?6867-Flippy-Key-Using-Lightroom-in-english-w ith-a-non-english-keyboard-layout
    I ended up removing the Keyboard Tamer plugin and then manually adding following strings to C:\Program Files\Adobe\Adobe Photoshop Lightroom 4\Resources\en\TranslatedStrings.txt. This is by the way something that the Keyboard Tamer plugin does as well, because when I removed it I found two files named TranslatedStrings.txt in the Recycle Bin. The Keyboard Tamer is just supposed to save you the time and effort of manually manipulating these strings.
    "$$$/AgLibrary/Menu/View/ZoomIn=Zoom In"
    "$$$/AgLibrary/Menu/View/ZoomIn/Key=Cmd+."
    "$$$/AgLibrary/Menu/View/ZoomInMinor=Slow Zoom In"
    "$$$/AgLibrary/Menu/View/ZoomInMinor/Key=Cmd+Shift+."
    "$$$/AgLibrary/Menu/View/ZoomOut=Zoom Out"
    "$$$/AgLibrary/Menu/View/ZoomOut/Key=Cmd+-"
    "$$$/AgLibrary/Menu/View/ZoomOutMinor=Slow Zoom Out"
    "$$$/AgLibrary/Menu/View/ZoomOutMinor/Key=Cmd+Shift+-"
    I found this thread helpful:
    http://forums.adobe.com/message/1459525#1459525#1459525
    I just replaced AgDevelop with AgLibrary. This of course only changes the key binding for Zoom In and Zoom Out in the Library module. Is there perhaps a document somewhere that explains the structure of the TranslatedStrings.txt file? There seems to be one of these files in each of the language specific folders under the Resources folder.
    This file is known to be found in:
    C:\Program Files\Adobe\Adobe Photoshop Lightroom 4\Resources>dir /b /s TranslatedStrings.txt
    C:\Program Files\Adobe\Adobe Photoshop Lightroom 4\Resources\de\TranslatedStrings.txt
    C:\Program Files\Adobe\Adobe Photoshop Lightroom 4\Resources\en\TranslatedStrings.txt
    C:\Program Files\Adobe\Adobe Photoshop Lightroom 4\Resources\es\TranslatedStrings.txt
    C:\Program Files\Adobe\Adobe Photoshop Lightroom 4\Resources\fr\TranslatedStrings.txt
    C:\Program Files\Adobe\Adobe Photoshop Lightroom 4\Resources\it\TranslatedStrings.txt
    C:\Program Files\Adobe\Adobe Photoshop Lightroom 4\Resources\ja\TranslatedStrings.txt
    C:\Program Files\Adobe\Adobe Photoshop Lightroom 4\Resources\ko\TranslatedStrings.txt
    C:\Program Files\Adobe\Adobe Photoshop Lightroom 4\Resources\nl\TranslatedStrings.txt
    C:\Program Files\Adobe\Adobe Photoshop Lightroom 4\Resources\pt\TranslatedStrings.txt
    C:\Program Files\Adobe\Adobe Photoshop Lightroom 4\Resources\sv\TranslatedStrings.txt
    C:\Program Files\Adobe\Adobe Photoshop Lightroom 4\Resources\zh_cn\TranslatedStrings.txt
    C:\Program Files\Adobe\Adobe Photoshop Lightroom 4\Resources\zh_tw\TranslatedStrings.txt
    I will study the structure of this file in Resources\sv\ and try to understand it. And as I find new "flaws" in the shortcut key bindings I will make new edits to the file I saved in Resources\en\ accordingly.
    Here's an idea: those of you who don't mind re-learning all the shortcuts - the localized shortcuts for Swedish keyboards - simply copy the TranslatedStrings.txt file from C:\Program Files\Adobe\Adobe Photoshop Lightroom 4\Resources\sv\ and paste it in C:\Program Files\Adobe\Adobe Photoshop Lightroom 4\Resources\en\. What this does it allows you to keep English as your interface language, but it changes the shortcut map to something that's more adopted for the Swedish keyboard layout. You get the same shortcut key bindings as the ones you see when you change the language to Swedish in the settings. But this way you are preventing Lightroom from changing the interface language.
    Either that, or add new strings to an empty Resources\en\TranslatedStrings.txt file for each key binding you find to be broken and not compatible with your keyboard. This way you are only making changes to the key bindings that don't work very well for your keyboard, you are not chaning all of the shortcut key bindings. The other key bindings stay the same, the default key bindings found in the English version of Lightroom (or with English as language settings).
    This is a way to adapt Lightroom for your own environment. But this is still too complicated and unncessary. A simple shortcut editor built into Lightroom would have solved this. But what are we going to do?... this is up to Adobe... Lightrooms have been complaining about the lack of a shortcut editor since at least Lightroom 2 and Adobe has not listened. So I don't expect to see this feature in the following years to come. It might just come along in maybe Lightroom version seven or something... but who cares?... At that time I might even ditch Lightroom altogether.
    Ligthroom 5 upgrade...
    I just found out that the new Lightroom 5 is not compatible with Windows Vista. I have the Vista Ultimate 64-bit on my desktop where I use Lightroom. This was not made very clear by Adobe. They simply state that Lightroom 5 works on Mac and on Windows. You have to read the fine print. I almost purchased the upgrade. I'm glad I didn't. I won't upgrade from Vista to Windows 7 just to run Lightroom 5! We, the early Windows Vista adapters, got screwed by Microsoft. Now, we are getting screwed by Adobe too! I see no reason not to support Windows Vista as it is pretty much the same system as Windows 7, and one would expect Adobe to support them both. I found a thread about it where one user asked why Vista was not supported and Adobe failed to give any explanation. They just silently dropped the OS support.
    I guess they can do whatever they want. They are Adobe.
    But I will not upgrade to Windows 7 because of Lightroom, so I won't upgrade to Lightroom 5. This is a great oppertunity for Phase One to strike with a good deal, such as a discounted migration upgrade for Capture One. I am sure many Lightroom 4 users would be happy to leave the Lightroom ship in favor of Capture One. At the end of life of Lightroom 4 I will probably just go to Capture One, even if I have to pay full price. At least they support Windows Vista.

  • Catproc and Catalog Executed as non-sys user

    One of my friend executed the above packages from a non-sys user schema.
    That schema is also important.
    Now how to clean up these objects?
    Just re-running the above packages as sys schema is enough?
    Thanks

    Excerpts from the note 1015902.4:
    Shutdown your database with 'shutdown immediate'. If this hangs for an
    extended period of time, then use 'shutdown abort'. This must be done
    as 'internal'.
    Start up your database with 'startup', or 'startup restrict'.
    The following script should be run as 'sys' or 'internal' from SQL*Plus
    (this is important for formatting the script that it creates). This script
    will create another script called file.sql. If you do not run the following
    script from SQL*Plus, you will need to edit the resulting script to make sure
    file.sql will run properly.
    ----------------------------- <script start> --------------------------
    set echo off
    set pagesize 0
    set feedback off
    spool drop.sql
    SELECT 'drop '||OBJECT_TYPE||' '||OWNER||'.'||object_name||';'
    FROM all_objects
    WHERE OWNER != 'SYS' AND OBJECT_TYPE != 'SYNONYM'
    AND OBJECT_NAME IN
    (SELECT OBJECT_NAME FROM ALL_OBJECTS
    WHERE OWNER = 'SYS')
    ORDER BY object_type, object_name;
    spool off
    set feedback on
    set echo on
    ---------------------------- <script end> -----------------------------
    Run the script created from above script as either internal or sys.
    The script will contain sql commands like:
    DROP PACKAGE SYSTEM.DBMS_SHARED_POOL;
    DROP VIEW SYSTEM.DBA_OBJECTS;
    SQL> @drop.sql
    You may alternately find the user who owns 'sys' objects, and drop that
    user.
    SQL> drop user xxxx cascade;
    This may hang. If it does, use shutdown abort, and rerun script. When the
    script completes, 'shutdown immediate' your database. Startup and run
    catalog.sql and catproc.sql as either 'sys' or 'internal'. You may then
    run pupbld.sql as the 'system' user. If you have replication installed,
    you may also need to run catrep.sql as 'sys'.
    Hints for running the catalog, catproc and catrep scripts:
    1. Check for available freespace in system tablespace, you will probably
    want at least max(bytes) at least 4M, and sum(bytes) of 10M:
    SQL> select max(bytes) from dba_free_space where tablespace_name = 'SYSTEM';
    SQL> select sum(bytes) from dba_free_space where tablespace_name = 'SYSTEM';
    2. Make system tablespace datafile autoextend:
    SQL> alter database datafile 'path\filename' autoextend on
    next 5m maxsize 100m;
    View dba_data_files for file names
    SQL> select * From dba_data_files where tablespace_name = 'SYSTEM';
    3. Make rollback_data tablespace datafile autoextend:
    SQL> alter database datafile 'path\filename' autoextend on
    next 5m maxsize 200m;
    4. Prior to running data dictionary scripts, spool to file
    SQL> spool file.log
    5. Check file.log and alert<SID>.log after execution for errors.
    Solution Explanation:
    =====================
    When CATALOG.SQL or CATPROC.SQL were run as SYSTEM or another schema owner,
    this created some valid and invalid objects owned by SYSTEM (in view
    DBA_OBJECTS) that should be owned by SYS only. Comparing those object owned
    by SYS with objects owned by other schemas and deleting the duplicate
    objects removes the duplicate objects.

  • SAP CLM - Dropping "None" from value list

    Hi all,
    The value lists created have two basic options - Yes and No. But by default "None" appears when value lists are mapped to a field i.e., when we view the filed in "Create Contract", the field defaults to none and gives an option to select Yes or No. How can we drop "None" which gets defaulted by itself? Instead it should appear blank.
    If there are any suggestions, please help us.
    Regards,
    Karthik

    Hi Karthik -
    You cannot remove "none" from the value list.
    One possible workaround I have seen some customers use is to "rename" the none to some other value. This has the affect changing the value in every value list used in the system. For example, I believe one customer changed the value to "select...". Would something like this work for you? This change can be made by changing the localized resource (Setup > System Setup > User Interface > Localized Resources). The localized resource to change is "bundle = cterms" and "id = cterm.none". Obviously, the value you should be updated for any language packs also installed.
    I hope this is useful.
    Thanks,
    Rob

  • How can I get "all my files" to recognize files in a non system drive?

    I use a Mac Pro with four internal drives, OSX 9.2. My system drive is an SSD so I keep user files on another drive in an adjacent bay.
    Files in my non-system disc are not displayed in the "all my files" finder view. If I copy a file from the system disc to my user disc, the copy is not recognized, and when I trash the original, of course, there is no reference to either. If I search, spotlight finds it. This behavior seems to apply to all files and is regardless of anything selected in the sidebar before "all my files". I have not marked any files, folders or drives as private. I presume I must have a set a pref wrong. I would really appreciate any advice.
    Thank you.

    To change the program that .indd files default to when opened in OSX, right click on the .indd file > Open With > Other.
    Then navigate to the version of InDesign that you want to open them with (I have CS6 installed but its the same for CS5). Make sure you have "Always Open With" selected.

Maybe you are looking for