Enable tracing for specific users

Hi all

DB version: 11 GR 2

We request that create connections from a user to db. Link any run with some work, some runing some sql statements.

We must enable trace for that user on the application of 'Action'

for example. When this application connects to sql execution statement trace activate.

I know that we can use the logon trigger and activate the trace.

example:

CREATE OR REPLACE TRIGGER USER_TRACE_TRG

AFTER LOGON ON DATABASE

BEGIN

IF USER = SCOTT

THEN

immediate ' alter events set "trace 10046 name context of session forever, level 12". "

END IF;

EXCEPTION

WHILE OTHERS THEN

NULL;

END;

/

but we have to USE SCOTT and ACTION = =...

How can we enable with dbms_monitor?

can anyone help.

> I want to track when the session is created for this user

A logon trigger is the simplest for this requirement.

You have changed your condition.

Hemant K Collette

Tags: Database

Similar Questions

  • Enable Cookies for all users

    Hello

    I have a series of computers that run the mozilla firefox. For some reason, firefox handling cookies is disabled by default for everyone who uses a computer. I can activate on a per user basis, but it's tedious. Not to mention he's totally confusing to end users as to why some web sites do not work. Is there a way to enable cookies for all users on a computer without having to re-sysprep and copying to a new default profile for each of the computers? Something about: config, maybe?

    You can use a mozilla.cfg file in the Firefox program folder to lock the prefs or specify new values (default).

    Put a local file - settings.js in the folder defaults\pref also the file prefs.js - channel where to specify using mozilla.cfg.

    pref("general.config.filename", "mozilla.cfg");
    

    These functions can be used in the mozilla.cfg file:

    defaultPref();  // set new default value
    pref();         // set pref, but allow changes in current session
    lockPref();     // lock pref, disallow changes
    

    See:

  • Hide the headings for specific users/groups

    Hello

    Is this possible with WEBhelp, hide/Exclude subjects for specific user groups / users?

    Currently, we use html/chm help. There is a project for our main software. I have another project for an add-on that is integrated in the table of contents of the main project using the merged help function. We only install help for this module when the customer has purchased this module. So the customers who do not have this module do not have help to make it.

    It is possible something similar with WEBhelp (Pro)? I ask because we go to WEBhelp (Pro). In this case, there is no help by the customer file, but one for all the world. Is there a way to display only the additional items to customers who use this module?

    * The only way I can think is to integrate all this into a single project and publish twice (one with and one without the themes of the additional module) using the tags of the construction. Or is there a way to let the RoboEngine/RoboServer merger it on the fly, but based on the criterion that the customer has the module?
    * This additional help project can be added to the main help as a teaser for other customers also use this module (others cannot buy unless you are a franchisor of a group of specific hotel for which we have developed the module)

    Thank you

    Hi John-Pierre. RoboServer this is impossible on the fly. Tags of the generation are the way to go. Simply create a new tag, apply it on the subjects you want no franchises user to see, then apply the tag to your SSL to exclude it from the output. Viola, you have your username not franchisees to help. Simply remove this label from construction of the SSL for users of franchises so that they get everything. You can also create two identical WehHelp Pro SSL - 1 vote against and no label construction and the other with a construction tag to avoid you to have to remember to add/remove.

    How your application will know files that help write? Is this a separate executable? I know that it is possible for the INSTALLATION. EXE to check the license before installing the modules, but I never went to the bottom of this line.

    BTW, build tags can be used on all types of output.

  • Enable tracing for a particular session when it hits a certain module

    Database: 11.2.0.3.6 / operating system: Solaris 10

    Customer asked me to turn on tracing on a task that runs every night.  In particular, they only followed the session when the work reaches a certain module.  Is it possible to do?

    I initially though that to create a logon trigger to activate tracing when this (job) user connects, but which would encompass everything that makes the user, including 5 hours of stuff done before the work of sound of the module of interest.

    I also watched dbms_monitor.serv_mod_act_trace_enable to trace a specific module, but that looks like it does the trace in the world on the basis of data, not for a particular user session.

    How can I track a session for that user and capture a part of it?

    Mimi

    > How to accomplish followed a session for that user and capture a part of it?

    Change the code to start the trace at the top of the procedure & stop the trace before you exit the procedure.

  • How to block Facebook for specific users by IP in NSA 4600 Sonicwall

    Hello

    I want to block facebook and youtube for some users in network using the IP of the user's computer or a MAC and allow other remaining users access facebook normally in Dell Sonicwall NSA 4600.

    Kindly guide me how it is possible in the firewall settings. Thank you

    Osama Aftab.

    You must configure the App control rules advance for block & FB access to specific users.

    Following article will give you heads upward.

    It is said in this article during the configurations block: activate & user/group of users Include: all THE (IE block FB for all users). You can use groups to exclude the user to authorize access to few IPs/users.

  • How to disable verification for specific user

    Hi all

    On our setting of database audit db is expanded, and verification information was resident on system tablespace.

    For some reason we allow audit to the specific user.

    VERIFICATION BY TOMMY BY ACCESS;

    CHECK DELETE THE TABLE, INSERT TABLE, SELECT THE TABLE, UPDATE TABLE BY TOMMY BY ACCESS;

    AUDIT EXECUTE ANY PROCEDURE OF TOMMY BY ACCESS;

    He wrote too much information and we want to disable this check for tommy. But we want to do without restarting database because our running System 7/24.

    We allow audit for tommy without rebooting, but we can't turn it off without restarting.

    NOAUDIT ALL BY TOMMY;

    NOAUDIT DELETE THE TABLE, INSERT TABLE, SELECT TABLE, TABLE UPDATE BY TOMMY;

    NOAUDIT PERFORM ANY PROCEDURE OF TOMMY;

    There is no error but it steel writes too much information, please help how we can disable it without reboot?

    2790572 wrote:

    Hi all

    On our setting of database audit db is expanded, and verification information was resident on system tablespace.

    For some reason we allow audit to the specific user.

    VERIFICATION BY TOMMY BY ACCESS;

    CHECK DELETE THE TABLE, INSERT TABLE, SELECT THE TABLE, UPDATE TABLE BY TOMMY BY ACCESS;

    AUDIT EXECUTE ANY PROCEDURE OF TOMMY BY ACCESS;

    He wrote too much information and we want to disable this check for tommy. But we want to do without restarting database because our running System 7/24.

    We allow audit for tommy without rebooting, but we can't turn it off without restarting.

    NOAUDIT ALL BY TOMMY;

    NOAUDIT DELETE THE TABLE, INSERT TABLE, SELECT TABLE, TABLE UPDATE BY TOMMY;

    NOAUDIT PERFORM ANY PROCEDURE OF TOMMY;

    There is no error but it steel writes too much information, please help how we can disable it without reboot?

    The change applies only to new sessions opened by TOMMY.

    So at a minimum all existing sessions belonging to TOMMY need to be terminated.

  • Create clouds app may work for specific users, not all users. When connecting?

    I use at home (plan of photography) creative cloud on two computers.  The other members of the family do not use or want Photoshop or Lightroom, so when the CreativeCloud app opens when logging - this is not wanted.  As a developer of many years, I know it's * possible * to change the registry, as well as a specific user is running CreativeCloud (on Windows help - HKCU /... instead of HKLM registry key /...).

    I searched the communities Adobe and google the net for other people the same question - how to attach CreativeCloud to a specific user (or users) instead of all users...  Nothing.  "I even started to decide where I should spend HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\"Adobe Creative Cloud'=' \"C:\\Program Files (x 86) \\Adobe\\Adobe Creative Cloud\\ACC\\Creative Cloud.exe\" - showwindow = false - onOSstartup = true '.

    The problem is that I have to re - hack this whenever the CreativeCloud application is updated (and could end up with two copies running, its slow enough already, thanks) when the updater/Installer rewritten the original key.

    Adobe may take the specific needs of users into account?  A computer can be used by several people and want all the same applications.  Irritate everything except a user application design is not good.

    Thank you

    Simon, you can try to update creative cloud to the latest version and check if cela helpsp.

    1. remove the cloud creative app.

    Using creative cloud | Uninstall the creative cloud desktop application

    https://helpx.Adobe.com/Creative-Suite/KB/CS5-cleaner-tool-installation-problems.html

    2. install Creative Cloud app - https://helpx.adobe.com/creative-cloud/help/install-apps.html

  • Auto approve IN. for specific users?

    I'm looking into PORPOCHA and I need to auto approve IN. for a specific user, is there some examples that I could look at? I am new to WF.

    Thank you!

    Hello

    You must create a rule of holiday for the user for this notification. In workflow administration pages, go to the Administration tab and choose 'Rules of holiday' from there. Create the rule to automatically approve the notifications you want to.

    HTH,

    Matt
    -----
    WorkflowFAQ.com - the independent resource ONLY for Oracle Workflow Development

    Review alpha chapters of my book "developing with Oracle Workflow" are available through my website http://www.workflowfaq.com
    Have you read the blog at http://www.workflowfaq.com/blog?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • Charge of siebel for specific user session

    Currently, I am working on a project and came across a requirement to save the session partially in Siebel.
    one of our modules is not significant. the interview screens and user may chose to save part of it and return, sometime more later to continue with the application.
    When the user press "load" it should ideally over the user's specific session.

    In the web current determinations it loads all cases in Siebel (maybe because we use the default user "guest").

    Can you please clarify?

    If this isn't the case, it is possible to capture the load event and filter unwanted sessions.

    The charge in the determinations of Web feature is designed to serve a user to load possible sessions they can be saved before.

    If you want to implement a feature where a user takes a single interview that they stopped at halfway, then is not the function you're looking for.

    Here's what you should probably watch do.

    When a user saves a session, it has a unique caseID which will look something like "0-1, comments, Mabaseregles. This string can be used to charge the special session of the determinations of web.

    You start an investigation with a session previously saved by invoking a type http://myserver.com/siebel-web-determinations/startsession/MyRulebase?caseID= url

    -You can store this value in a cookie by adding some javascript to speed model which will be displayed after a case has been registered.

    -A simple html page could read in the cookie and then re-directed to the URL above (fairly simple Javascript), then a user would resume the session where they left off, which is sort of what you want. If you made a user to return to this page (instead of determinations Web directly) then they will resume their session.

  • Unable to access client ARD for specific users

    I have ARD Admin 3.8 and manage more than 100 computers at my company.

    Methods standard in my company, the setting System Preferences > sharing > Remote managementt > allow access to: is set to "only these users: ' field is empty.

    I tried to add an account in the Terminal. I SSH into a machine and run various commands, but they do not work:

    Here are the commands I tried:

    sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/k ickstart - activate - configure - access - on - users [username] - privs - all - restart - agent-menu

    sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/k ickstart - set - users [username] - access - on - privs-all

    sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/k ickstart - activate - configure - users [username] - access - suite - restart - agent - privs-all - allowAccessFor - specifiedUsers

    None of them worked, I still can't authenticate on this machine with my admin of ARD.

    Am I missing something? Is there anything else I can try?

    Thank you.

    Nevermind, I figured it.

    For some reason, the first name and the account name were different and I was using the full name in the command. Once I used the name of the account, it worked.

  • enable access for a user not 'root' ssh

    I want to create user for minimal Troubleshooting on esx server 5.x and this account has the permission to reboot or shutdown server and esx with ssh access.


    but only ROOT ssh access account


    I create the administrative account but not access on ssh... only root account


    Help me


    Thank you


    Hello

    Open a client vsphere directly on your ESXi and create a local user.

    Then add the user to the Administrators group.

    You will then be able to use ssh with this user.

    Kind regards

    Julien.

  • How to create link db to access other databases for specific user tables

    Hi Experts,

    You want to create db link:

    Please create a dblink, a native of PSOLDB (proddta, owner) and the PSOLPP (owner of the CMR) destination.

    GRANT SELECT, UPDATE, DELETE

    Database: PSOLPP

    Owner: RMC

    TABLES: F5560052, F5560011, F5560053, F5560001, F5560002, F5560535, F5560035, F5560537, F5560538, F5560080, F5560081, F5560092, F5560100, F5560101, F5560102, F5560105, F5560103, F5560104, F5560004, F5560003, F5560200 and F5560110

    My question is how to create db connection for access of the user of the CMR tables in database PSOLPP, and a question arises in my mind is if we create DB link for user CTMR, it will access all tables in the schema of RMC, but we need only access some tables (above tables only)

    Please advice

    Thank you


    Sam

    You can

    Create another user in the PSOLPP database.

    Give all the privileges the user created on rmc tables

    create database PSOLDB (owner of proddta) link to the new user.

  • Enable commenting for Reader users

    This question has been posted in response to the following article: http://help.Adobe.com/en_US/Acrobat/Pro/using/WS8F17CB6D-B39D-4cf6-8060-7907C1AC53F7.w.htm l

    The file menu in Acrobat XI have been optimized after the comments customers, so the most commonly used elements are priority. If you use the feature a lot, remember in Acrobat XI that you can put anything on the quick tools, including a button area to apply extensions to the reader:

  • the audit of a specific user for their session

    Is it possible to toggle the audit for a user in a way similar to the activation/deactivation of a role?

    What I'm trying to do is - to enable auditing for a user when they connect to an application (where his roles via an application based role - (identified by a package role) allows the application) and - when the user disconnects have audit automatically "disable."

    I don't know if this is possible. Idea/suggestions are greatly appreciated.

    Thank you!

    If I understand your question, you can use a fine grain for this audit. AFAIK, you can under certain conditions to audit using regular buildings. You can do something like...

    begin
      dbms_fga.add_policy(object_schema   => 'YOUR_USER',
                          object_name     => 'YOUR_TABLE',
                          policy_name     => 'YOUR_TABLE_AUDIT',
                          audit_condition => 'sys_context(''userenv'',''os_user'') = ''howards''',
                          audit_column    => 'YOUR_COLUMN');
    end;
    /
    

    This will create an audit record in dba_fga_audit_trail when the howards os_user selects the column of the specified table. If the same database user running the select when you are connected to os_user 'raymond', the selection will not be audited.

    Some sys_context parameters are easily spoofed, but the idea should hold true regardless of how you would rate the session.

  • How can I increase size of mail for some users only in exchange 2003 or the smtp server

    I have 2 break the two server installed ms 2003, an Exchange and a another smtp, Smtp is independent, not added to the domain. My business mail size is limited to all users maximum 5 MB.  But now I need to increase the size of the mail for specific users, and not for all users. can I create a policy for this. Can I increase size of mail for users of 10 or 15 MB. If can where I can configure this option. Exchange or SMTP. Please give me counsel.
    Thank you & best regards
    Anas

    ASK THE QUESTION IN THE EXHANGE SERVER FORUMS:
    http://social.technet.Microsoft.com/forums/en-us/category/ExchangeServer/

Maybe you are looking for