Object privileges issue

hi all,
I have a database on AIX and the copy of the database on windows box.
Now there is problem.
There are some less number of privileges in some schemas,so hw to overcome this problem. When I query dba_tab_privs the output is
FROM AIX box:
SQL> select count(*) from dba_tab_privs;
COUNT(*)
35051
FROM windows box:
SQL> select count(*) from dba_tab_privs;
COUNT(*)
33529
when I tried to grant the privileges on windows box (taken into a file from AIX),I was unable to grant,I found that the GRANTABLE is NO.
So hw can I move forward.
Pl give guidance,
thanks,
ravi.

hi
like delete,select,update etc.
FROM windows
SQL> select count(*) from dba_tab_privs where grantee='MAAX'
2 and grantor='MINO';
COUNT(*)
9846
FROM AIX
SQL> select count(*) from dba_tab_privs where grantee='MAAX'
2 and grantor='MINO';
COUNT(*)
10396
thanks,
ravi.

Similar Messages

  • Granting object privileges to remote users.

    Hello,
    Here's the situation:
    I have 2 databases located on 2 different servers both running Win2k3. In the first database the main schema is M1 and it has to read objects on the another schema M2, located on the second database.
    I created a database link on the first database, to point to the second database
    create database link connect2M2db connect to M2 identified by M2 using 'connect2M2db'Now I would like to grant object privileges(insert,update,delete) to M1 on M2' objects. Can anyone tell me how to do that?
    Thanks in advance.

    I didn't put the whole thing, (my bad) but your reply was helpful. As I said before, I have 2 dbs, on 2 differents servers. I created the dblink on the first server. I also created synonyms on the first server using the following syntax:
    "create or replace synonym syn_name for user2.table" which from the link you provided me, is wrong as I didn't append the dblink name.
    After that, I would like to grant object privileges to user1, by executing the command from server2. For doing that, is the following syntax correct: "grant select on table_name to user1". My issue is that user1 does not exist on server2. Should I rather use the following: "grant select on table_name@dblink to user1"?

  • Grant sequence privilege issue

    Hi,
    OS is windows server 2008
    Database oracle 11g r2
    i have created a schema with name SME having DBA privilege from SME i have created another user SME_USER using the same tablespace of SME with limited privileges. The sequence was created in SME user. I am accessing the tables from SME schema. I have given insert privilege to one of the table in SME to SME_USER,but while insertiing we are using the sequnece with name IPSRNO from SME schema. Now when i tried to insert value inot the table from SME_USER its giving me the output "Sequence does not exist". I have given the grant select privilege for sequence IPSRNO.
    Please guide me on this issue.
    Regards,
    Bobby

    See Using Synonyms in DML Statements in the DBA guide
    http://docs.oracle.com/cd/B28359_01/server.111/b28310/views003.htm
    >
    You can successfully use any private synonym contained in your schema or any public synonym, assuming that you have the necessary privileges to access the underlying object, either explicitly, from an enabled role, or from PUBLIC. You can also reference any private synonym contained in another schema if you have been granted the necessary object privileges for the underlying object.
    You can reference another user's synonym using only the object privileges that you have been granted. For example, if you have only the SELECT privilege on the jward.emp table, and the synonym jward.employee is created for jward.emp, you can query the jward.employee synonym, but you cannot insert rows using the jward.employee synonym.
    A synonym can be referenced in a DML statement the same way that the underlying object of the synonym can be referenced. For example, if a synonym named employee refers to a table or view, then the following statement is valid:
    INSERT INTO employee (empno, ename, job)
    VALUES (emp_sequence.NEXTVAL, 'SMITH', 'CLERK');
    If the synonym named fire_emp refers to a standalone procedure or package procedure, then you could execute it with the command
    EXECUTE Fire_emp(7344);

  • Catalog object privilege validation failed for user.

    Hi,
    I'm getting following error after adding the HTML tags in dashboard 11g.
    How to set the privileges?..Kindly let me know.Thank you.
    Error Massage:
    Catalog object privilege validation failed for user to path /users/User1/_portal/page 1.
    You do not currently have sufficient privileges to save a report or dashboard page that contains HTML markup. Dashboard contains custom HTML tags as part of static text.

    Hi User,
    Go to Settings -> Administrators -> Manage Privileges -> 'Answers'
    Here you can view - "Save Content with HTML Markup" next to it you will see 'Presentation Server Administrators'
    Click it and Change for 'Everyone'
    And, Save changes. Restart BI Services now you can add the contents and it will not popup any error messages.
    Thank you.
    Award Points and Close the Post as Answered to help others with same issue :)

  • System and Object privileges question

    hello everyone.
    I was really making it a priority to really understand both system and object privileges for users. I have setup a couple of 'sandboxes' at home and have done lots of testing. So far, it has gone very well in helping me understand all the security involved with Oralce (which, IMHO, is flat out awesome!).
    Anyway, a couple of quick questions.
    As a normal user, what view can I use to see what permissions I have in general? what about permissions on other schemas?
    I know I can do a:
    select * from session_privs
    which lists my session privileges.
    What other views (are they views/data dictionary?) that I can use to see what I have? Since this is a normal user, they don't have access to any of the DBA_ views.
    I'll start here for now, but being able to see everything this user has, would be fantastic.
    Cheers,
    TCG

    Sorry. should have elaborated more.
    In SQLPLUS, (logged in while logged into my Linux OS), I am working to try and get sqlplus to display the results of my query so it is easy to read. Right now, it just displays using the first 1/4 or 1/3 of the monitor screen to the left. Make sense? So it does not stretch the results out to utilize the full screen. it is hard to break down and read the results because they are "stacked" on top of each other.
    Would be nice if I could adjust sqlplus so the results are easier to read.
    HTH.
    Jason

  • Getting Duplicate Object existing issue while deploying the BIAR file

    Hi All,
    We are trying to deploy BIAR File with XI R2 Command tool InstallEntSdkWrapper. But we are getting Duplicate Object exixting issue while deploying the BIAR file.
    Error Message:
    [report] [InstallEntSdkWrapper.main] Connecting to CMS plmdevapp31:6400 as administrator
       [report] [InstallEntSdkWrapper.CmsImportFile] Exception: An error occurred at the server :
       [report] Failed to commit objects to server : Duplicate object name in the same folder.
       [report]
       [report] [InstallEntSdkWrapper.main] BIAR File could not be imported
    If we are doing any promition with Import Wizard we have an option to "Overwrite object contents" option to overwite exixting objects. It will very helpful if any one suggest how we can achieve this through InstallEntSdkWrapper.
    Unfortunately there is no documentation availabe on InstallEntSdkWrapper.
    Cheers!

    That's a limitation with the XI Release 2 InstallEntSdkWrapper.jar tool.
    Sincerely,
    Ted Ueda

  • Object Privilege

    Dear All,
    I'm having one problem in my database. I'm having two database one is testdb1 and another is proddb1 running in two different server. I've done the followings-
    1. I've created a dblink from testdb1 to proddb1 database using two different schema (test1 to prod1).
    2. Now through dblink test1 schema of testdb database can access all objects available in prod1 schema of proddb1 database.
    Now I want to give object privileges on some selected objects of prod1 schema to test1 schema. How to do it?
    Can any Guru provide me this solution?

    Hi,
    Come you said that you have created a DataBase link...asking to provide commands... !!
    Any How..
    Follow the Steps:-
    1 > Create a Required User in Prod (assign the default tablespaces etc.,).
    2 > Grant the Necessary Privilges
    3 > Grant the Object Privilges as per your Requirements, as you said that you want to Restrict to some Objects only.
    4 > Test it with that Create User Whether you can Access the Objects with Respective Privi's are working fine or not
    5 > Then Create a DataBase Link From Test DB to Prod with that Created User.
    Bingo.. !!
    Now, Test the User Over DB Link... Any thing else Requried..
    Now, I don't have DB on My System to show the Demo... :-(
    Reference for Creating User and DB Links .. !!
    http://www.dba-oracle.com/concepts/create_users.htm
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/ds_admin.htm#sthref4108
    - Pavan Kumar N

  • How to view object privileges of a user in Oracle10g?

    I try to view the object privileges of a user through the table user_object_privs but it didn't work. I didn't get the correct name of the table or there were some problem with my Oracle. Please help me. Thanks a lot.

    Thanks, that link helped me out. I was looking for this:
    SELECT OWNER, TABLE_NAME, GRANTEE, PRIVILEGE FROM DBA_TAB_PRIVS WHERE GRANTEE='<put name here>';

  • Roles/System privileges/Object privileges

    Oracle 10g. we created a role and assigned this role to the user. We also assigned some system privileges and Object privileges directly to the same user. Now the company's new policy is that the user's permissions have to be assigned only via role. system privileges and Object privileges cannot be assigned directly to the user. So I have to alter the role. The steps are:
    1. grant system privileges and Object privileges to role. (this will be executed as a script)
    These privileges were directly assigned to the user.
    2. revoke all privileges which were directly assigned to the user.
    Do I miss anything?
    Please advise.
    Thanks
    S.

    Object privileges cannot be assigned directly to the user.Privileges acquired via ROLE do not apply within PL/SQL procedures.
    You may face some coding challenges in the future due to this policy.

  • Alter Object Privilege onm Oracle 9i

    Is there a command that I can run that will update all Object Privilege's to SELECT for a role
    At the moment this role has
    GRANT EXECUTE ON .ACTIVE_SALES_PART_API TO SALES_ENQ
    GRANT EXECUTE ON .BASE_PART_CHARACTERISTIC_API TO SALES_ENQ
    GRANT EXECUTE ON .CHARACTERISTIC_API TO SALES_ENQ
    GRANT EXECUTE ON .CHARACTERISTIC_TEMPLATE_API TO SALES_ENQ
    GRANT EXECUTE ON .COMPANY_FINANCE_API TO SALES_ENQ
    GRANT EXECUTE ON .CONFIG_CHARACTERISTIC_API TO SALES_ENQ
    GRANT EXECUTE ON .CONFIG_OPTION_VALUE_API TO SALES_ENQ
    GRANT EXECUTE ON .CONFIG_PART_SPEC_REV_API TO SALES_ENQ
    GRANT EXECUTE ON .CUSTOMER_AGREEMENT_API TO SALES_ENQ
    GRANT EXECUTE ON .CUSTOMER_INFO_ADDRESS_API TO SALES_ENQ
    GRANT EXECUTE ON .CUSTOMER_INFO_API TO SALES_ENQ
    GRANT EXECUTE ON .CUSTOMER_INFO_MSG_SETUP_API TO SALES_ENQ
    GRANT EXECUTE ON .CUSTOMER_ORDER_PRICING_API TO SALES_ENQ
    GRANT EXECUTE ON .CUST_ORD_CUSTOMER_API TO SALES_ENQ
    GRANT EXECUTE ON .CUST_ORD_PRINT_CONTROL_API TO SALES_ENQ
    GRANT EXECUTE ON .DOCUMENT_TEXT_API TO SALES_ENQ
    GRANT EXECUTE ON .INVENTORY_PART_API TO SALES_ENQ
    GRANT EXECUTE ON .INVENTORY_PART_PLANNING_API TO SALES_ENQ
    GRANT EXECUTE ON .INVOICE_PROPERTY_CODE_API TO SALES_ENQ
    GRANT EXECUTE ON .ISO_COUNTRY_API TO SALES_ENQ
    GRANT EXECUTE ON .ISO_CURRENCY_API TO SALES_ENQ
    Message was edited by:
    HoLy_PiLgRiM

    I like the use of dynamic sql in sqlplus for example
    select 'grant select on'||TABLE_NAME||' to SALES_ENQ;' from user_tables;
    This type of thing generates output that can then be run or spooled and run.
    If you spool you need to set head off set feedback off set echo of set linesize (longer than select output....) set pagesize 0.....
    Hope this helps.

  • Export object privileges to another user

    dear,
    i want to export thr object privilege to another user on oracle 10g. how can do it? i try to export the user/scheam than immport to another user but still no work..
    Regards

    I guess he want user B to have same object privileges as user A
    If this is the case, it depends on what object privileges user A has.
    You can find that out from user_tab_privs after logon as user A.
    If the GRANTABLE = 'NO' you have to logon as each schema holder to grant the privs.

  • Importing object privileges

    I have this question about schema based export/import. 10.2.0.4 db.
    With old export/import utility if I
    -- export user A
    -- export user B
    -- import user A in another db. Since user B does not exist I correctly get some errors for object privileges user B has on objects owned by user A
    -- import user B. Those privileges are now imported. Old import utility imports object privs that user B owns on user A's objects
    With expdp/impdp utility if I
    -- export user A
    -- export user B
    -- import user A in another db. Since user B does not exist I correctly get some errors for object privileges user B has on objects owned by user A
    -- import user B. Those object privileges are NOT imported. Impdp does not import object privs that user B owns on user A's objects.
    Is there anything I am missing???
    Thanks in advance

    Hi Alle,
    if i have understood your question correctly then you want to import the grants of user A to user B.
    it is possible only if you have the EXP_FULL_DATABASE or IMP_FULL_DATABASE role is attached to your profile.
    If you have no EXP_FULL_DATABASE role, you can only export your own schema. If you have EXP_FULL_DATABASE role, you can export several schemas in one go. Optionally, you can include the system privilege grants as well.
    Thanks.

  • Grant Object Privileges Page

    I am running version 3.0.6.6.5 on Solaris 2.6 and using Netscape Navigator 4.51.
    On the Grant Object Privileges Page for a database object, the "Add to List" button is in an odd spot (crosses over a border) and does not work unless you click it on the left 1/3 of the button. This is not a problem when using IE 5.
    Is this a known bug?
    Fran Bailey
    EDS - Meredith Account

    i logged in as User1 and wrote:
    desc dbms_lock
    and nothing happened, then i disconnected and connected to db1 as User1 and retry and it was all the same (didn't assign the privilege). then i shut down sql plus and started it again as sys and when ran EXECUTE ON DBMS_LOCK the message is shown:
    SP2-0103: Nothing in SQL buffer to run
    then i logged in as User1 and repeat the EXECUTE ON DBMS_LOCK command, the same error message is thrown. same happened when tried with desc dbms_lock.
    am i doing something wrong or what?

  • Object Identification Issue with OATS

    please find below the details of the object identification issue, we are seeing with OATS.
    Environment:
    JRE Version     : JRE 7 Update: 65
    OATS Version : 12.4.0.2_129 (Build)
    Application Built on : Oracle EBS/Forms & Applets(11g Forms)
    Operating System: Win 7 32-Bit Professional
    Browser: Internet Explorer 9
    Object Identification Issue:
    1. Launch OATS Open Script
    2. Login to Test application by opening URL using IE9 browser.
    (Login was successful)
    3. Click on the button and check if forms are loading
    (Oracle forms are loading).
    4. Try spying or recording actions on any objects in the forms
    (Issue - Objects are not getting identified by OATS)
    Appreciate any help on this. Thanks in advance.

    Hi,
    I suggest you to select only 1.7.0.65 in Java Runtime Environment Settings and uncheck version 1.7.0.67.
    Try to launch application. If the application opens, then Openscript will identify objects. Else have to wait till next release of Openscript supporting JRE version 1.7.0.67.
    Please let me know if the above suggested method worked.
    Thanks and Regards,
    Vasanth Kumar S M

  • Data Modeler - Importing Object Privileges

    Is there a way to import object privileges to DM (from database or Oracle Designer) or do I just have to add them manually to the model?

    It should be possible to import them from database but I see it doesn't work - I created bug for that. You can define them in physical model - be aware that these privileges are generated after create statement for object.
    No problems with import of system privileges.
    Philip

Maybe you are looking for