grant sys.dbms_crypto to the public

I'm on version 11g.
Oracle Database 11 g Enterprise Edition Release 11.2.0.2.0 - 64 bit Production
login as a user with dba and granting privileges.

GRANT EXECUTE ON "SYS". "" DBMS_CRYPTO ' TO THE 'PUBLIC ';
============
ORA-00942: table or view does not exist?


I don't want to run this connection as /sysdba but the normal DBA. Is it possible?

I could do this on a different database that is version
Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production?

Published by: Phani_Orcl on December 23, 2010 23:32

Try to look for the database settings:

In my case, when I setting O7_DICTIONARY_ACCESSIBILITY set to True and restart the db and try the same thing and it worked.
In such scenarios, we need to check the settings.

Thank you
Syed

Tags: Database

Similar Questions

  • grant to the public

    Hello

    I did ocuploe of grant execute on sys to the public packages;

    but when I look at subsidies run individual users thrugh db consolse I do not see them, I also had a look at subsidies run public user nor her there...

    How to query the list of the system-no system grants the public in my DB?

    Please below

    select privilege from dba_tab_privs where grantee='PUBLIC';
    
  • ORA-01994: GRANT failed: failed to add the users to the public password file

    Snoussi,

    our applications 11.5.10.2 and db 9.2.0.6 whenever I'm in the process of grant dba privileges to rman user sys, I get the below error

    ORA-01994: GRANT failed: failed to add the users to the public password file

    I created the password file and I've changed remote_login_passwordfile = NONE for remote_login_passwordfile = EXCLUSIVE lock
    in initSID.ora then I bounced DB but its showing again.


    SQL > show the distance parameter

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    real chain of remote_archive_enable
    remote_dependencies_mode string TIMESTAMP
    remote_listener chain
    Remote_login_passwordfile string NONE
    REMOTE_OS_AUTHENT boolean FALSE
    remote_os_roles boolean FALSE
    SQL >

    Here is my information in initSID.ora file.

    ----------------------------------------------
    #############################################################################
    #
    # END OF THE CBO SETTINGS SECTION
    #
    #############################################################################


    #---FIN OF REQUIRED OPTIMIZER PARAMETERS-

    #
    # Client settings.
    #
    Remote_login_passwordfile = EXCLUSIVE lock
    #EMOTE_LOGIN_PASSWORDFILE = exclusive lock
    IFile=/U05/Oracle/visdb/9.2.0/DBS/VIS_linux2_ifile.ora
    [oracle@linux2 dbs] $

    Published by: HumanDBA on June 9, 2009 04:06

    Danny,

    Do you use a spfile to start the database? If Yes, then you must change this setting in the spfile so (issue "show the spfile parameter' to check).

    Kind regards
    Hussein

  • How can I determine what were the privileges granted to the PUBLIC?

    I don't know 'out of the box' privileges by default Oracle, but rather the privileges that have been granted since the day 0.

    SQL > select * from dba_sys_privs where dealer = "PUBLIC";

    no selected line

    SQL > grant create any table to the public;

    Grant succeeded.

    SQL > select * from dba_sys_privs where dealer = "PUBLIC";

    DEALER PRIVILEGE SMA

    ------------------------------ ---------------------------------------- ---

    PUBLIC CREATE ANY TABLE NO.

    SQL > revoke create any table of public;

    Revoke succeeded.

    SQL > select * from dba_sys_privs where dealer = "PUBLIC";

    no selected line

    SQL >

    The PUBLIC role is a special role that each database user account is automatically when the account is created. By default, it has no privileges granted to it, but there are many grants, especially for Java objects.


    The same binding, which was provided by a member.


    DBA_ROLE_PRIVS - roles granted to users and roles

    ROLE_ROLE_PRIVS - roles that were granted to roles

    ROLE_SYS_PRIVS - privileges granted to the roles system

    ROLE_TAB_PRIVS - Table privileges granted to roles

    Concerning

    Girish Sharma

  • error in grant execute to the public on the package

    Hello
    I have a package that works with my user but when I try to run on this package that I receive
      
    declare
          v_id number;
         begin
              v_id := liste_pkg_lista.liste_lista_func(9);
            dbms_output.put_line(v_id);
    end;
    SQL> /
    9
    
    PL/SQL procedure successfully completed.
    
    SQL> grant execute on liste_pkg_lista.liste_lista_func to public;
    grant execute on liste_pkg_lista.liste_lista_func to public
                                     *
    ERROR at line 1:
    ORA-04042: procedure, function, package, or package body does not exist
    can you tell me how to run on it to the public?

    Thank you

    Coco wrote:
    Hello
    I have a package that works with my user but when I try to run on this package that I receive

    
    declare
    v_id number;
    begin
    v_id := liste_pkg_lista.liste_lista_func(9);
    dbms_output.put_line(v_id);
    end;
    SQL> /
    9
    
    PL/SQL procedure successfully completed.
    
    SQL> grant execute on liste_pkg_lista.liste_lista_func to public;
    grant execute on liste_pkg_lista.liste_lista_func to public
    *
    ERROR at line 1:
    ORA-04042: procedure, function, package, or package body does not exist
    

    can you tell me how to run on it to the public?

    Thank you

    Grant execute on liste_pkg_lista to public;

  • How to check if UTL_FILE was granted to the Public?

    Thanks in advance.

    I'm working on writing a SQL * plus query that can check to see if 'UTL_FILE' was granted to the Public?

    The dba_tab_privs does not provide me with the appropriate information.

    Thank you
      1* select table_name from dba_tab_privs where grantee = 'PUBLIC' AND     PRIVILEGE = 'EXECUTE' and table_name like 'UTL%'
    SQL> /
    
    TABLE_NAME
    ------------------------------
    UTL_RAW
    UTL_IDENT
    UTL_TCP
    UTL_HTTP
    UTL_FILE
    UTL_INADDR
    UTL_SMTP
    UTL_URL
    UTL_ENCODE
    UTL_GDK
    UTL_COMPRESS
    UTL_I18N
    UTL_LMS
    UTL_NLA_ARRAY_DBL
    UTL_NLA_ARRAY_FLT
    UTL_NLA_ARRAY_INT
    UTL_NLA
    UTL_REF
    UTL_COLL
    UTL_MATCH
    UTL_BINARYINPUTSTREAM
    UTL_BINARYOUTPUTSTREAM
    UTL_CHARACTERINPUTSTREAM
    UTL_CHARACTEROUTPUTSTREAM
    UTL_MAIL_INTERNAL
    
    25 rows selected.
    
  • How to grant the public schema?

    Hello

    I just want to know is anyway that I can give a complete schema to another user/audience?
    I want to grant scheme a user b / public. is it possible to do? I'm sorry that I don't know
    on the database, I know that APEX. : P

    Thank you
    -aku

    Hello:
    Change your cursor:
    (select table_name from user_tables not in iot_type ("ITO", 'IOT_OVERFLOW', 'IOT_MAPPING'))

    or

    (select table_name from user_tables where iot_type is null)

    HTH
    Saad,

  • Grant select on all of the views to the public

    How to tune the selection on the all views to the public? Thanks in advance.

    782150 wrote:
    How to tune the selection on the all views to the public? Thanks in advance.

    spool doit.sql
    select 'grant select on '||
              owner ||
             '.' ||
             view_name ||
            ' to public;'
    from dba_views;
    spool off
    

    run doit.sql

    That's how it's done. Whether or not it is wise is a different matter.

  • can run sys.dbms_crypto - but cannot run without schema name dbms_crypto

    Hi all

    I can run sys.dbms_crypto - but cannot run dbms_crypto without schema name.

    Example:

    Select rawtohex (sys.dbms_crypto.hash (utl_raw.cast_to_raw (UPPER ('LUCKY10')), 2)) as the double md5_64_pw

    works

    Select rawtohex (dbms_crypto.hash (utl_raw.cast_to_raw (UPPER ('LUCKY10')), 2)) as the double md5_64_pw


    does not work



    How can I fix it?



    Public synonym exists:


    Select * from all_synonyms where synonym_name = 'DBMS_CRYPTO' and owner = 'PUBLIC '.

    PUBLIC DBMS_CRYPTO SYS DBMS_CRYPTO

    Select * from version $ v

    Oracle Database 11 g Express Edition Release 11.2.0.2.0 - 64 bit Production

    PL/SQL Release 11.2.0.2.0 - Production

    CORE Production 11.2.0.2.0

    AMT for 64-bit Windows: Version 11.2.0.2.0 - Production

    NLSRTL Version 11.2.0.2.0 - Production

    Then, most likely, user you are logged in as a object named DBMS_CRYPTO:

    Select * from user_objects where object_name = 'DBMS_CRYPTO;

    And "does not work" is not very descriptive. Are you an error? If so, please post.

    SY.

  • Revoke the public object privileges

    Hi guys,.

    Database: 10.2.0.5

    Recently, we have an audit performed on one of our production DB:
    We are informed by the Auditor:

    1 revoke execute to the public for the bottom of the packages/function:
    UTL_SMTP
    UTL_TCP
    UTL_HTTP
    UTL_FILE
    DBMS_RANDOM

    2 revoke access to table privileges (select, update, delete) public:
    The owner of the tables where the privileges granted to public are essentially below which, according to me, are granted by default when creating the db:

    CTXSYS
    DMSYS
    EXFSYS
    MDSYS
    OLAPSYS
    ORDPLUGINS
    ORDSYS
    SYS
    SYSTEM
    WMSYS
    XDB


    I understand the risk to the public, this means that each what ID database in the database can use the access granted to the public.
    Since he has granted by default by oracle, should really remove us it? I'm afraid that if I delete it, it will cause some complications.
    Since he is identified as a result of security, why oracle grant to users who need instead of default public?
    Avdvise nicely.

    Thank you!

    Even better when defy you the Auditors use information from Oracle:

    Be careful when you remove the privileges granted to the PUBLIC [247093.1 ID]

    Invalid objects after revocation RUN privilege to the PUBLIC [797706.1 ID]

    There are a couple of specific Oracle Application notes of the questions of dismissal of public which can also be interesting if you use Oracle Applications.

    HTH - Mark D Powell.

  • Requested help recovering from the change that I did for the 'Public' of Vista Home Premium file permissions for everyone

    I made a blunder when changing the permissions of public folders for everyone.  I am now connected to Vista Home Premium on my home PC as an Admin will be complete permissiongs.  When I right click on the folder Public, pooling and property options are both now gone.  How to restore the availability of these options?  Also, I can access to is no longer the files that I previously copied into the Public folder.  How can I restore my access to these files?

    Have you started with elevated privileges command prompt? Just running in the administrator account is not enough. Looks like you don't have because it starts in your user directory. If you were high would begin in the Windows\System32 directory.

    See: http://windows.microsoft.com/en-US/windows-vista/Command-Prompt-frequently-asked-questions

    Orders, you should get something like this:

    Takeown /f /a C:\Users\Public
    ICACLS C:\Users\Public/Grant "BUILTIN\Users: (F)".
    ICACLS C:\Users\Public/Grant "Administrators: (F)".
    Takeown /f C:\Users\Public\*/a
    ICACLS C:\Users\Public\*.*/Grant "BUILTIN\Users: (F)".
    ICACLS C:\Users\Public\*.*/Grant "Administrators: (F)".

    I can't guarantee that this will fix your system. You must give permissions for the system and other users accounts.  If you have access to another system, I would compare the settings there. These programs will help you determine the permissions associated with a system

  • Unable to access files in the public folders of other accounts.

    I have two accounts on my windows machine 7 and when I load a file in the public folder of one the other cannot access the file.  I have to grant permissions to the other user for each file individually.  Incedentally both accounts are Admins.   Any ideas?

    As a general rule, if you move a file from one folder to another, the file protections are maintained as they were before the move - so if UserX doesn't have permissions to a file in one of your folders, move them to a folder Public will not give permission.  However, if you copy a file to a folder to another one, then the copied file/folder will take on the permissions of the folder newly containing.

    Bottom line... try dragging the file in the Public folder with your mouse right button when you release, select "Copy" from the context menu.

    HTH,
    JW

  • the public newspaper stamps

    Hi all

    Is it true that 10 g, we have at least two buffers of the public newspaper, if we have more than one CPU?
    Is there some way (see), we could use, to check the actual number of stamps from the public journal (without using the redo log dump)?


    Best regards
    D.

    Since the account is SYS:

    select
            indx,
            FIRST_BUF_KCRFA               ,
            TOTAL_BUFS_KCRFA              ,
            STRAND_SIZE_KCRFA
    from
            x$kcrfstrand
    /
    
          INDX FIRST_BUF_KCRFA  TOTAL_BUFS_KCRFA STRAND_SIZE_KCRFA
    ---------- ---------------- ---------------- -----------------
             0 070000001B8ED000            46979          24053248
             1 070000001CFDD600            46979          24053248
             2 070000001E6CDC00            46979          24053248
             3 07000017787BC000              249            132096
             4 07000017F84B7000              249            132096
             5 0700001768685000              249            132096
             6 070000175830B000              249            132096
             7 0700001748BE8000              249            132096
     
    

    You can see the address of first is different from the rest - this shows you the public strands are located separately from the private strands.
    You can also see the public strands in this system are about 24 MB each, while the private strands are 128KB. (There are many more private elements, incidentally).

    Another detail, though - there are features that disable private redo thread, what RAC is the most obvious example.

    Concerning
    Jonathan Lewis
    http://jonathanlewis.WordPress.com
    Author: core Oracle

  • Security and revoking UTL_SMTP, DBMS_SQL etc. of the PUBLIC

    We were charged by a security audit to revoke execute on different packages of PL/SQL (for example UTL_SMTP, UTL_TCP, UTL_FILE, DBMS_RANDOM, DBMS_LOB, DBMS_SQL) of the PUBLIC. In my view, there are a large number of dependencies that could cause destructive in the database consequences if this is done.

    Is this true and if so is there a way to stop users (other than type admin users) to have the use of these procedures?

    Thank you
    Greg

    PL see these Docs MOS

    247093.1 - be careful when revoke you the privileges granted to the PUBLIC
    390225.1 - execution privileges are reset to zero for the Public after you apply the patch group

    HTH
    Srini

  • Continues to receive updates beta of MAC OS x in the App Store even if I reconnect my mac from the public beta program

    Hello

    I'm still getting updates beta of MAC OS x in the App Store even if I reconnect my mac from the public beta program. The option to receive these updates beta is no longer available in my preferences system, as shown here:

    https://www.igeeksblog.com/stop-OS-x-beta-software-update-notifications-in-Mac-a pp-store.

    Any suggestions?

    Thank you

    Restart your Mac, then see if these updates appear again.

Maybe you are looking for