GNAT's access to any user in the database

Hi all

I need to create a user account that can grant a privilege object on any schema object to a required user. I know that a DBA can do that. But without the DBA role, y at - it another way to do it in Oracle 11 g 2 (worm: 11.2.0.3). Please share your ideas

Thank you

Thanks, Justin. Your answer is useful

Tags: Database

Similar Questions

  • How to allow access to all users of the connection on my computer?

    How to allow access to all users of the connection on my computer?

    Your question is hard to understand.  I interpret as:

    "How to allow all the users on my computer to access some files or folders?

    The answer depends somewhat on the question of whether you have XP Pro or XP Home, but a general answer is found the following article.

    "How to use file sharing Simple to share files in Windows XP"
      <>http://support.Microsoft.com/kb/304040 >

    Click on "level 3: files in shared documents available to local users"

    HTH,
    JW

  • last logon of the user to the database

    Hello

    I need to find the last logon of the user to the database, any ideas who view data dictionary can help me?

    Thank you.

    user8869798 wrote:

    Hello

    I need to find the last logon of the user to the database, any ideas who view data dictionary can help me?

    Thank you.

    What version of Oracle?

    With 12 c, it's to (drum roll, please...) DBA_USERS.

    12 c, it is not in any table/view documented .

  • Reg: verification of users in the database pending

    I need to check the users in the database pending. In the primary database, I got the result by querying dba_users. But how to check standby db, without opening the database.
    Is it possible with any views?

    No, you can't.

    Assuming that physical standby, you can only query dynamic views of performance when it is in MOUNT.

    I like the answer of sb92075. Its a copy of the same database. We're in a mode where you can search for users, and we're in a mode where you can not.

    Make sure that your databases are synchronized and interrogate primary school.

    Best regards and thanks!

    mseberg

  • How to know all queries executed by users of the database?

    Hi all
    I am new to Oracle. I created a database (version 10.2) and several users in this database. I would like to know how to record in a database table all queries executed by users of the database.
    Thank you.

    I would like to know how to record in a database table all queries executed by users of the database.

    activate SQL_TRACE for each session, but such an effort cost more than any advantage gained.

  • creating user using the database link

    Hello

    I have 11g installed on one of the server
    I created the database BUGAU to bugau.us.oracle.com link
    link works fine

    "Select * from table@"Bugau "gives the expected result

    I ran the Sub statement to my server using the dblink.but do not know how to use the dblink to that effect. Please sat down

    CREATE USER ABC IDENTIFIED BY welcome TEMPORARY by DEFAULT TABLESPACE USERS_001 temp123 TABLESPACE;

    GRANT DEFAULT TO abc;

    ALTER USER abc PROFILE LEVEL_1;

    Thank you
    Archana

    Bravid wrote:

    You cannot create a user on a remote database using a database link.

    You can, but it is not a good design:

    SQL> exec dbms_utility.exec_ddl_statement@orcl('CREATE USER ABC IDENTIFIED BY ABC');
    
    PL/SQL procedure successfully completed.
    
    SQL> exec dbms_utility.exec_ddl_statement@orcl('GRANT CREATE SESSION TO ABC');
    
    PL/SQL procedure successfully completed.
    
    SQL> connect abc@orcl/ABC
    Connected.
    SQL> 
    

    Of course, the user in the database unite ORCL must have EXECUTE on DBMS_UTILITY privilege.

    SY.

  • How to change the password for all users in the database

    Hi buddies!

    Could someone tell me how to change the password for all users in the database? I want to set the same password for all users.

    Thank you.

    Nith

    Published by: user645399 on March 1, 2011 14:23

    Write the file spooling
    as

    Make sure that all profiles has password_verify_function with a NULL value

    then

    Select 'edit user' | username: ' identified by ;' from dba_users;

    you will get the output... you just run.

  • safety of the user in the database

    Hello

    I have a following requirement:

    Oracle version: oracle 8i (8.1.7.0.0)

    I need to create a schema (user) and it will contain data of staking and none of the other user in the database should not acess that presents data to users,

    How I can implent suggestions are appreciated.

    Thank you

    Prakash GR

    Prakash - we found the 'problem' - permission.

    In order to do a full export the user has select on all tables.

    Oded

  • Level of access for a user on the network device group

    Hello

    1 al ' ACS is possible to give Readwrite access to a user when it connects to a network and readonly device group when it connects to another group of network devices.

    Thanks in advance

    Hello

    You need to set up the command authorization set on a per network device group basis

    Assign permission to control Shell Set on a per network basis-Associates ammunition special device group command authorization sets to be effective on particular NDG.

    http://www.Cisco.com/en/us/docs/net_mgmt/cisco_secure_access_control_server_for_windows/4.1/user/GrpMgt.html#wp480029

    Kind regards

    ~ JG

  • Create read only user to the database

    Hi all

    I need to create read only the user to one of the databases so that he should have the select query on all tables, views etc...

    Can I create a user of this type with the role OEM_MONITOR at once?

    Please advice
    Concerning
    Arun

    No.:

    SQL> select * from v$version;
    
    BANNER
    --------------------------------------------------------------------------------
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0      Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    
    SQL> create user toem identified by toem;
    
    User created.
    
    SQL> grant oem_monitor to toem;
    
    Grant succeeded.
    
    SQL> select count(*) from hr.jobs;
    
      COUNT(*)
    ----------
            19
    
    SQL> connect toem/toem
    Connected.
    SQL> select count(*) from hr.jobs;
    select count(*) from hr.jobs
                            *
    ERROR at line 1:
    ORA-01031: insufficient privileges
    
    SQL>
    

    Grant select ANY TABLE might work, but note it is generally regarded as a bad security practice:
    http://download.Oracle.com/docs/CD/E11882_01/network.112/e10574/guidelines.htm#CHDHFIFG

    Edited by: P. Forstmann on March 8, 2010 21:31

  • Accessing an application WebWorks built the database via a Java application

    Hi all

    My Java application needs to access a database that was created by a WebWorks built application. I see WebWorks encryption applications their databases using the code keys automatically signing. When I first tried to read the database, he said that it was encrypted as IOException: headers are encrypted. Since then, I installed the same key code in my Eclipse IDE to signature and have signed the java application with the same keys used by the WebWorks app. I always seem to get an IOException error, but this time it does not specify the exact error.

    Quite simply, I need to use the same database created in the WebWorks app in my Java application. Is it possible if I use the same code key for both signature requests? Or WebWorks uses a completely different algorithm to encrypt data in the database from Eclipse and so cannot use the same database?

    Thank you for all your help.

    Rob

    Yes, the DB is encrypted by default by using the identity of the application (code signing key and I believe in association with the name of the application)

    Thus, the type of DB of SQLite that is created from a WebWorks app is different from one created from a Java application, which can be a conflict at stake here.

    If you believe that it is a Google Gears database!

    https://github.com/BlackBerry/WebWorks/BLOB/master/framework/src/js/html5_init.js#L586

    Well Yes, to subsidize bequests to devices BBOS 5.0, which had no WebKit as web rendering engine, Gears is the 'wedge' up here.

    For the above reasons, I do not think that its going to be possible for you to achieve what you're trying with SQLite DB. To share data between applications on BBOS, you would need to use a different channel (encrypt the data and save it in the file system, or use your own remote web service + DB)

  • Download any file in the database column

    Hi all

    Is it possible that I can download any file in a column of data?

    I use oracle forms 6i and oracle database 10g.

    Kind regards

    Atif Zafar

    Dear Sir

    You can select the built-in file using GET_FILE_NAME. And then copy the file into the database using HOST Directory integrated (using the CMD). After you copy the file in the database directory, you can call the procedure of database to update the database file.

    Manu.

  • drop more than one user in the database

    Hi How can I deposit more user user at the same time for example, I have users who got the prefix UCM how can I make use I drop all the user with this prefix

    Drop user cascade ucm_tets

    where username like UCM %

    There is no such thing, but you can use:

    Select "user menu". u.username |' waterfall;' u dba_users

    where u.username like '% UCM % '.

    ----

    Ramin Hashimzade

  • user and the database of departure

    Hi gurus,

    friendly request but me information on less than question, thanks in advance.

    * When the database is out of service - for starting db how authentication? How does the db recognizes users who begin?


    Thank you
    REDA

    You must log on as a user with privileges "sysdba" to start the database that is authenticated using password * 'orapwd' * file resides on the server. It is authenticated by the database itself. To learn more:

    http://docs.Oracle.com/CD/E11882_01/server.112/e25494/dba006.htm

  • query to display objects for all users in the database

    Hi all

    I want to make a query that Lee display. result for all users in a database.

    Total number of #tableau #Indexes #Packages #Procedure #Functions #Sequences #Views # other username

    ABC 11 5 1 1 1

    1 1 1 0

    Something like this would work in 10g and before:

    SELECT     OWNER
    ,     SUM(CNT) AS "TOTAL"
    ,     MAX(DECODE(OBJECT_TYPE,'TABLE',CNT,0)) AS "#TABLE"
    ,     MAX(DECODE(OBJECT_TYPE,'INDEX',CNT,0)) AS "#INDEX"
    ,     MAX(DECODE(OBJECT_TYPE,'PACKAGE',CNT,0)) AS "#PACKAGE"
    ,     MAX(DECODE(OBJECT_TYPE,'PROCEDURE',CNT,0)) AS "#PROCEDURE"
    ,     MAX(DECODE(OBJECT_TYPE,'FUNCTION',CNT,0)) AS "#FUNCTION"
    ,     MAX(DECODE(OBJECT_TYPE,'SEQUENCE',CNT,0)) AS "#SEQUENCE"
    ,     MAX(DECODE(OBJECT_TYPE,'VIEW',CNT,0)) AS "#VIEW"
    ,     MAX(CASE WHEN OBJECT_TYPE NOT IN ('TABLE','PACKAGE','INDEX','PROCEDURE','FUNCTION','SEQUENCE','VIEW') THEN CNT ELSE 0 END) AS "#OTHER"
    FROM
    (
         SELECT     OWNER
         ,     OBJECT_TYPE
         ,     COUNT(*)     AS CNT
         FROM     ALL_OBJECTS
         GROUP BY OWNER
         ,     OBJECT_TYPE
    )
    GROUP BY OWNER
    ORDER BY OWNER;
    

    11 g, you can use the PIVOT operator to do the same.

    You can change this by changing the statements of DECODING of CASE statements if you can use the LIKE operator to catch all objects such as VIEWS and VIEWS MATERIALISEES.

    For example:

    MAX(CASE WHEN OBJECT_TYPE LIKE '%VIEW%' THEN CNT ELSE 0 END
    

    HTH!

Maybe you are looking for