Log sql of a specific user

Hi
Is there a way to trace all the sql query of a specific user in Oracle 9i ?
I already try logminer but i find it not very flexible.
Thanks for answer.

Hi,
You can use sql trace on a session level even you can set this parameter on db level. There might be no other way to get a log of a particular user's queries.
Thanks

Similar Messages

  • Fn key can not work when logged in as a specific user

    I use fn + (F1-F12) to control my MBP(adjust brightness etc). This setting works well for more than a year.
    Recently, when I logged into my user account, I found I can not use fn+(F1-F12) to adjust setting anymore. When I press fn + f1, the result is equivalent to just press f1 without holding the fn key.
    The fn key can work well when I am in the login screen, but after I type my password and press enter, the fn key will not function anymore. Even logout can not help.
    If I log into another user (guest or newly created user), the fn key can work well. If I log into my account first, then another user, the fn key will be disabled until I reboot my machine.
    It seems that my user account launched some weird applications that disabled my fn key.
    I tried to disable as many login items as I can, but the problem still remains.

    Thank you for your answer.
    Unfortunately I can't try your solution on the computer where the problem occurred because it is used in another course for the moment and is therefore not available. But I tried to recreate the problem on another computer. I created a restricted account and when logged in on that account I opened my VI and it worked fine... (all subVI:s were found). By default, the restricted account had Read & Execute, List Folder Contents and Read permissions for the MAX folder. So, I then unchecked the Allow-boxes in an attempt to recreate the problem, but the VI still worked on the restricted account. Then I checked the Deny-boxes for the permissions mentioned above, but the VI still worked. Since I couldn't recreate the problem I don't know if your solution is the right one, but at least I can draw the conclusion that it is possible to run my VI from a restricted account.
    But I will try your solution on the computer where the problem occurred when it is available and I will let you know whether the problem was solved or not.

  • How to log off a single AD user from a list of servers

    I have a user account I need to logoff from all servers in a list.  For example domain\user2 needs to be logged off all servers in a list.  Here is what I have so far:
    foreach ($_ in get-content C:/servers.txt)
    {(gwmi win32_operatingsystem -ComputerName$_).Win32Shutdown(4)}
    The problem is all this does is log off the first user in the session list when you are looking at task manager.  How could
    I log off just a specific user?

    This thread on stackoverflow may be useful to you if the user is connected to an RD session on your servers: Powershell Log Off Remote Session 
    As a starting point:
    $server = 'MyServer'
    $username = "domain\usertologoff"
    $session = ((quser /server:$server | ? { $_ -match $username }) -split ' +')[2]
    logoff $session /server:$server
    (the script listed logs the current user off, I changed it to all you to enter the username)
    Jason Warren
    @jaspnwarren
    jasonwarren.ca
    habaneroconsulting.com/Insights

  • How to pop up a system message for a specific user when She/He log on SAP

    Hi Friends,
    As we know SM02 setting will pop up a system message to all users in specific client in a specific period when the user log on SAP system; and we can do the same thing via using function module SM02_ADD_MESSAGE.
    But now we want to pop up a message to a specific user ID when somebody log on SAP via this ID, instead of all user IDs in the client. Please do we have any similar traction / function module / class method to to do this job??
    Thanks in advance.
    Joe

    Below code can be used to send a pop up message to all users who are logged on to the
    system.
    DATA: MESSAGE(128) VALUE 'Test message'.
    DATA: OPCODE TYPE X VALUE 2.
    DATA: BEGIN OF USR_TABL OCCURS 10.
    INCLUDE STRUCTURE UINFO.
    DATA: END OF USR_TABL.
    CALL 'ThUsrInfo' ID 'OPCODE' FIELD OPCODE
    ID 'TAB' FIELD USR_TABL-SYS.
    LOOP AT USR_TABL.
    CALL FUNCTION 'TH_POPUP'
    EXPORTING
    CLIENT = SY-MANDT
    USER = USR_TABL-BNAME
    MESSAGE = MESSAGE
    EXCEPTIONS
    USER_NOT_FOUND = 1.
    ENDLOOP.
    In the above code just pass the desired user ID instead of All user ID's
    Edited by: harsh bhalla on Mar 26, 2009 2:14 PM

  • How can I set a specific user log on neme to a specific machine

    Greeting,
    I have a question : 
    How can I set a specific user log on name to a specific machine.
    e.g. 
    Only User.A can log on to PC.A and the other can not.
    Base On :
    Windows Server 2003
    Active Directory Version : 5.2.3790.1812

    Technically we're both right.  This depends on what scenario you're setting this up.
    1)  If you want to say only this person can log on to this machine, and it's not an enterprise solution (meaning you have a handful of computers you want restricted, not all computers) then do something like Yan Li has recommended.  However, I
    do not recommend using any DENY LOCAL LOGON user rights.  In this case, you would have to deny everyone except 'User A' and your Administrators.  If you put a user in ALLOW LOCAL LOGON and DENY LOCAL LOGON, then DENY wins and no one logs in.  Instead,
    you should remove all the settings from ALLOW LOCAL LOGON and add only User A and administrators.
    2) If this is an enterprise solution, use the LOG ON TO option I mentioned before.  Managing user right assignments per machine is very difficult and isn't a practical way to do it on a large scale.  If every user in your domain is assigned a computer
    that they can use, only that user can use that machine and that machine will effectively only allow that user.  For this to work, EVERY user must be restricted to a workstation, if no setting is present, then that user can log on anywhere.  This
    is my preferred solution still.
    Like I said, it depends on your situation to which route is better.  I hope this helps and is clear and easy to understand.
    - If you have my posts to be helpful, or the answer, please mark them appropriately.  Thank you.
    Chris Ream

  • Brief report of about 2 months for the sqls run under a specific user ?

    Hi,
    Is there a way i can get the brief report of about 2 months for the sqls run under a specific user in Oracle 11g.
    thanks in advance

    913410 wrote:
    Yes,
    auditing is enabled
    SQL> show parameter audit;
    NAME                                 TYPE        VALUE
    audit_file_dest                      string      /u01/app/oracle/admin/PRCMTDB/
    adump
    audit_sys_operations                 boolean     FALSE
    audit_syslog_level                   string
    audit_trail                          string      DBthen how to get the informationabove is necessary, but not SUFFICIENT
    default Oracle behavior is that NO specific actions are audited.
    You would have had to manually enable AUDIT for all SQL statement by single user

  • NEED TO DETERMINE USERS THAT HAVE LOGGED IN WITH A SPECIFIC ROLE

    I have a requirement to determine which users have logged in with a specific
    role or accessing a specific application. I know I can use the
    ORASSO.WWSSO_AUDIT_LOG_TABLE_T table to see the users that have logged in, but
    need to know which table to join with in order to determine which group that a
    user belongs to. It would also be nice to figure out which users are accessing
    a given application.
    We are running AS 9.0.4.2 with ORASSO database 9.0.1.5.
    Can you identify which tables I will need to use to satisfy my requirement?
    Thanks, Mike

    Thanks! I modified this slightly to get what I needed but I didn't think that I could get this from dba_tab_privs. You were a huge help!
    select table_name, grantee
    from dba_tab_privs
    where
    table_name in ('UTL_FILE', 'UTL_TCP', 'UTL_HTTP', 'UTL_SMTP', 'DBMS_LOB', 'DBMS_SYS_SQL', 'DBMS_JOB', 'DBMS_BACKUP_RESTORE')
    and privilege='EXECUTE'
    order by table_name;

  • Log out a specific user after inactivity, not all users

    I'd like to log out a specific user after a few minutes of inactivity.  Not all users.  Is there a ways to set this on a per user basis?
    I know how to do it system wide.

    Should be possible with this:
    Workgroup Manager 10.8

  • Log transactions for specific users

    Hi, How can I get the log for specific users, such as SAP_ALL : I want to know which transactions they have accessed in the last month for example or if they have accessed to a specific transaction.
    Thks !

    Hi,
    try tranction ST03N (Workload Monitor)and select "User Profile" in the Analysis View. There, you can see a list of Users. Double click on any of them to see the accessed transactions.
    Kind regards
    Dirk

  • Exclude specific user from ACS logging ?

    Hi,
    My customer and I are looking for a way to exclude actions/commands logging on AAA servers (ACS) for a single specific user, though logging still goes on for other users as AAA clients on networks devices have been configured with:
    aaa accounting commands start-stop tacacs+
    I have not found any solution up to now, either on the ACS side, either on the IOS side and aaa commands.
    (Though it looks like a potential security issue), can anyone advise?
    Thanks for your cooperation.
    Yvon.

    ACS 5.1 has the concept of collection filters which I think can do what you are looking for
    See: http://www.cisco.com/en/US/partner/docs/net_mgmt/cisco_secure_access_control_system/5.1/user/guide/viewer_sys_ops.html#wp1072344

  • Sharepoint portal goes down Whenever a specific user logs into the portal

    hi All,
    Sharepoint portal goes down Whenever a specific user logs into the portal
    When a specific user logs into the portal , the iis goes down and no one able to access the portal.
    once we reset  iis then portal works fine .Please help us to identify the root cause for this issue.

    What is the error message it throws for everyone after that user user logged into the site. Did you encountered the same behavior for the other web application in the same farm as well?
    It would be worth to check health of that particular application pool and the account used for it during the time you face the issue.
    Veeramani.S

  • Can I log specific users' bandwidth over an extended period of time?

    I have an AirPort Express and I live in an apartment building. I am sharing my wireless connection with some other tenets in the building, via allowing their MAC address, and I need to view their bandwidth in order to determine an the appropriate amount of the monthly bill they should pay. I have the AirPort Client Monitor and the AirPort Management Utility but I can only figure out how to monitor live usage.
    Is there any way I can log specific user bandwidth over an month to see their total usage of the network?
    12" Powerbook G4   Mac OS X (10.4.7)  

    Is there any way I can log specific user bandwidth over an month to see their total usage of the network?
    No, this is not possible with the AirPort Extreme base station (AEBS).

  • How to find MAC of phone last logged into by specific User

    Greetings, 
    How can I find the MAC of the phone a User last logged in to?  The user is currently not logged in to any phone. 
    Thank you 

    thank you Jaime
    is this intrusive?  will the pulling of EM traces affect CUCM performance or is it a simple task? 
    can this be done via RTMT?
    please provide instructions if possible.
    thank you again

  • Keep log sql statement

    Dear all,
    Is there any ways to keep log sql statement after insert,update,delete as the example below :
    ==========================================
    user01     client01     prog01.exe     update emp set name='test';
    user02     client02     prog02.exe     delete from emp1;
    I 'm not sure.Can use trigger? Is anybody have the example code?
    Oracle9i + windows2000
    Thank you for advance
    Chara

    Hi,
    Here is a small resumen About Basic Auditing in Oracle.
    For any Oracle versions prior to 9i you will need to set audit_trail parameter in the pfile ie.g.:
    audit_trail = DBFor later Oracle Versions:
    SQL>alter system set audit_trail = DB;To enable auditing for a specific object run the following command:
    SQL>AUDIT SELECT, INSERT, UPDATE, DELETE ON SCHEMA.TABLE;To stop auditing use:
    SQL>NOAUDIT SELECT, INSERT, UPDATE, DELETE ON SCHEMA.TABLE;Or to audit any statement that queries, delete, insert or updates any table, issue the following statement:
    SQL>AUDIT SELECT TABLE, DELETE TABLE, INSERT TABLE, UPDATE TABLE;If you want to audit a specific user will need to run the following commands:
    SQL>AUDIT ALTER TABLE, SELECT TABLE, INSERT TABLE, … ,GRANT PROCEDURE by <USERNAME>;To stop the audit for the user you will need to run:
    SQL>NOAUDIT ALTER TABLE, SELECT TABLE, INSERT TABLE, … ,GRANT PROCEDURE by <USERNAME>;To see the results of the auditing use please run:
    SQL> select * from dba_audit_trail;This is an excellent Oracle documentation to learn how to implement it:
    - http://download-uk.oracle.com/docs/cd/B19306_01/network.102/b14266/cfgaudit.htm
    Also I’ll recommend you to take a look on the following links:
    - http://www.oracle-base.com/articles/8i/Auditing.php
    Cheers,
    Francisco Munoz Alvarez
    http://www.oraclenz.com

  • DATABASE AUDIT SPECIFICATION ON SPECIFIC USERS

    Hi All,
    Currently I am using SQL server 2012 and would like to implement database audit specification on specific users in my database. These are the users in my database name Payroll :-
    Payroll\Andy.Bred - db_owner
    Payroll\Arpit.Shah - db_owner
    Payroll\webapp - db_datareader, db_datawriter, EXECUTE
    web_payroll - db_datareader, db_datawriter, EXECUTE
    In my database audit specification settings, I would like to capture any SELECT,UPDATE,DELETE and EXECUTE command for users Payroll\Andy.Bred & Payroll\Arpit.Shah only since they owned db_owner access. However, I am unable to capture any single command
    from both users. I do not want to put 'Principal' as public since I just want to capture both users activity.
    Is it I miss out anything? Is it because of windows login account? Hope can get some advise here. Highly appreciated.
    Thanks.
    Best Regards,
                     Han

    Hi   Han,
    Are your Windows login accounts member of the SQL Server sysadmin role? If that is the case, the login accounts are indirectly mapped as database user dbo. Please change the principal name in the audit action name to dbo and check if the users activity is
    being audited.
    There are also similar threads for your reference.
    http://www.sqlservercentral.com/Forums/Topic1082578-1526-1.aspx
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/a1df289d-555e-46c3-803a-2ae97af807a3/sql-auditing-database-audit-specification-is-not-logging-events-by-windows-authenticated-user?forum=sqlsecurity
    Thanks,
    Lydia Zhang
    Lydia Zhang
    TechNet Community Support

Maybe you are looking for

  • How do i select multiple cells in dreamweaver cc?

    Can't get cursor to appear to break and merge table cells. Keeps moving entire cell. Thanks, winifred

  • File size (using java.io.File)

    Hello all, When I want to create an app to be used as file browser, I should like to know the size of a file in a directory. The java.io.File class gives me quite some functionality, but not the functionality to display the file size. Does anyone kno

  • SAP script element not called

    Hi friends, Window contains - elements -800, 801, 802 I am calling an element 800 in a window which is called from print program (checked in debugging) followed by 801 but in form it is not called (does not display the hard code values i have shown).

  • Result Set(Value set ) Error..URGENT

    Hi Gurus,          I am facing an issue here. I created a valueset and passed it as a variable to pass the top 10 customer to another query. When we run the second query ( which need top 10 customers as value set)we get message 'ABORT COULD NOT CARRY

  • WebSAPConsole - sending a beep to a hand-held device!

    Hi All, I am having trouble sending a sound to a hand-held device using WebSAPconsole. I have set up all of the configuration correctly (incl. ref to Rich Heilman's blog) and when I use the transaction in IE on my PC the sound (the default alert.wav