How to trace a user System or I.P address
Hi Experts,
Had to ask how to trace a User's System or I.p address whom has performed changes over a BEX Query.
I have a situation where a user has done some changes in report it displays in last changed by user name:-****and last change date but i would like to trace the system from which these changes have been applied over a the bex Query.
Thanks in advance
Aman
Hi Aman,
Please have a quick look at the note 368048 which explains why the terminal ids are blank in some cases and gives the solutions where applicable.
If you want to see the current workstation with IP Addresses you can have a look at table USR41 which contains this information but this is not contained within the security audit log.
539404 FAQ: Answers to questions about the Security Audit
39418 Logging user actions
As for your query, about viewing user's IP, you might need to get user's Terminal ID from STAT/AL08 and manually use tracert in MS-DOS command to see particular user's IP. EG:tracert myl5005500.
Tracing route to <hostname>[10.10.10.10]
over a maximum of 30 hops:
1 <1 ms <1 ms <1 ms <FQDN> [10.10.10.10]
Trace complete.
Note : I personally tested from logging in via query designer but my connections were not displayed in USR41. Once I connect to backend system my terminal IP could be traced.
Regards,
Naveen.
Similar Messages
-
How to trace other user's session?
Dear Experts,
I would like to trace other user's session, I am on Oracle 10g R2 (10.2.0.4) on a Windows box. I did search on google and found tons of articles explaining about tracing techniques. But unfortunately, trace file is not getting generated in my case. Below are the steps I am following:
SQL> conn /as sysdba
Connected.
SQL>
SQL> select sid, serial# from v$session where username = 'TEST';
SID SERIAL#
38 17
SQL> show parameter user_d
NAME TYPE VALUE
user_dump_dest string C:\DB10G\UDUMP
SQL> show parameter timed_s
NAME TYPE VALUE
timed_statistics boolean TRUE
SQL>Connect a new SQL*Plus session as TEST and then
SQL> show user
USER is "SYS"
SQL>
SQL> select sid, serial# from v$session where username = 'TEST';
SID SERIAL#
19 24465
38 17
SQL> exec dbms_system.set_ev(38,17, 10046, 12, '');
PL/SQL procedure successfully completed.
SQL> exec dbms_system.set_ev(38,17, 10046, 0, '');
PL/SQL procedure successfully completed.
SQL> grant execute on dbms_system to test;
Grant succeeded.
SQL> exec dbms_system.set_ev(38,17, 10046, 12, '');
PL/SQL procedure successfully completed.in the new session (TEST):
SQL> select * from tab;
TNAME TABTYPE CLUSTERID
T TABLE
T3 TABLE
T1 TABLE
T2 TABLE
MYEMP TABLE
SQL>Yet, no trace file is generated in "C:\db10g\udump" folder.
C:\db10g\udump>dir
Volume in drive C is SYSTEM
Volume Serial Number is AC21-0462
Directory of C:\db10g\udump
12/15/2008 12:36 PM <DIR> .
12/15/2008 12:36 PM <DIR> ..
0 File(s) 0 bytes
2 Dir(s) 9,891,508,224 bytes free
C:\db10g\udump>Your help/advice in this regard will be very helpful.
RegardsYou must be using shared server.
You can verify this by referring to the SERVER column of v$session.
In shared server several servers will execute your code, so that's why you don't find a trace file.
The method described in this article should work in your case also:
http://technology.amis.nl/blog/1794/how-to-trace-a-java-application-through-a-connection-pool-using-dbms_monitor-6
Hth
Sybrand Bakker
Senior Oracle DBA -
How to trace which user shutdown oracle database in unix OS?
our organization is having 10 DBA with sysdba priviladge. We are using UNIX operating system. At morning say for example if some one (SYSDBA user) shutdown the oracle database how other sysdba user trace the user who shutdown the database? the information i need is terminal from where oracle got shutdown and the username? Please help...
Hello,
You are right Sybrand, SYSDBA connections are always audited.
My answer was about enabling auditing to any connections, which may give informations about who access to the Database in general. And, this is true, it was not the scope of the OP question.
However, so as to enlarge audit of SYS/SYSDBA/SYSOPER operations, setting the parameter audit_sys_operations=TRUE may be interesting:
http://download.oracle.com/docs/cd/E11882_01/network.112/e16543/auditing.htm#DBSEG0611
To the OP:
Where the audit tracefile get genareted for sys user?You may execute this:
show parameter audit_file_destThank again Sybrand for correcting me.
Best regards,
Jean-Valentin -
Even if I've got no DBA permission (for example I don't see the v$session table), have I got any way to trace the users accessing the DB? How can I do? I was told about trace but can someone tell me more? I'd like to know the user accessing the DB and the operation that he's launching. Is it possible?
Thanks!Anything is possible if you have the correct privileges. But then you probably don't have those privileges, and probably for a reason, as you probably also don't have the DBA role for a reason.
If you are to enable trace in a different session, you would need execute access on an Oracle provided package, which differs by version, and of course you assume Oracle never changes, and there is only one version out there: yours.
For a DBA it would be the easiest to grant you the select_catalog_role and the execute_catalog_role.
But then again one would ask why you think you should spy on him, and why you don't cooperate with him and/or try to convince him.
Sybrand Bakker
Senior Oracle DBA -
How to trace a USER in oracle?
Hi Sir,
I have a rquirement that I need to Trace a session created through the Application. The only data I have is that I know the application will connect to a Database schema and nothing else. How is it possilbe that I can create a trace file for it.
Also is it possilble, that i can trace complete user. how to find all the trace as it create number of process inturn number of trace, how do I find it and combine. I read the documentation but can't understand it clearly?
Any help will be great.sanora600 wrote:
Aman, thanks for replying. This is the problem, they have not implemented dbms_application_info.
That is the reason I want to know how to trace user(all session of a schema) and combine all the session generated trace(something like trcsess) and then generate tkprof. I am on Oracle 10g.Well, first off, users connect to databases, they don't connect to schemas. And as a follow on, users have sessions, schemas don't.
That said, you might investigate a logon trigger that initiates a 1046 trace. Something like this:
-- create a logon trigger for capturing extended trace data
-- NOTE: must be run as SYS
-- NOTE: Be sure to change both occurances of the target username
-- ('user = xxx' and 'TRACEFILE_IDENTIFIER=') to the
-- correct value for the session you want to trace.
create or replace trigger logon_trigger
after logon on database
begin
if (user = 'SCOTT' ) then
execute immediate 'ALTER SESSION SET TRACEFILE_IDENTIFIER=''SCOTT_APP''';
execute immediate 'alter session set timed_statistics=true';
execute immediate 'ALTER SESSION SET EVENTS ''10046 TRACE NAME CONTEXT FOREVER, LEVEL 12''';
end if;
exception
when others then
null;
end;
end;
Of course, you can play around with the 'if' condition, and delete or disable the trigger when it is no longer needed. The resulting trace file can be run through tkprof.
Edited by: EdStevens on Dec 19, 2008 9:03 AM -
How to trace connect user ?
Hi,
How can I trace all user connection in a file ?
I would like to know who connected (user oracle) and when.
Thanks for your help,
gnom92.You can see the figure how many connection made since the db starts up quering v$sysstat;
select name,value from v$sysstat where name like '%logon%';
NAME VALUE
logons cumulative 132671
logons current 175
Generally, Oracle doesn't keep this information. You have to enable audit to keep this info. -
How to trace a user session?
Hi DBA,
OS: Linux 5
DB Ver: 10.2.0.1
can any one tell me how to trace a session of user in oracle 10g?
Regards,
BKuser12942781 wrote:
Hi DBA,
OS: Linux 5
DB Ver: 10.2.0.1
can any one tell me how to trace a session of user in oracle 10g?
http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/sqltrace.htm#CHDDGCCB
HTH
Aman.... -
How to trace communication users in system & build a role
Hi all
I have a requirement in my compnay to create a role for communication users currently assigned to SAP_ALL
we have 20 communication id's & turning on trace is not feasible option due to the impact on system performance.
Plz let me know what is the approach i need to have inorder to find neccessary tcodes & objects into my role.
thank you in advance.
Best Regards
NaveenMurthy_What I meant is that good "housekeeping" and securing of these sensitive RFC connections is hard to do properly if you are "far away" from them.
Go figure why SAP delivers many of their connection wizards with SAP_ALL... they don't know either what the customer will be using and which data will be transfered and when you might need to temporarily debug the connection or when someone will try to use an existing connection for a new application without thinking about developing a new role to go with it, or which checks an SP might introduce which then pop up as a problem in a remote program or system, etc.
Really, it is not an easy thing to do properly (both technically and procedurally) and the further you are away from it, the more hassle it will be.
No inflamatory hype intended toward any specific type or location of "offshoring".
Cheers,
Julius -
How get the current user system ?
I want to synchronize the portal with my database; but i need to know the system
current user to establish a relationship between UserCreator and UserCreated
in my databaseAs far as I know, you can't get that information directly
from air.
A strange and roundabout "hack" would be to get the string of
the user's documents folder or desktop using
"air.File.desktopDirectory" or "air.File.documentsDirectory" and
parse it to get the user's name.
This is, of course, VERY unreliable, but may be the only way
to get the currently logged in user's name.
Someone please correct me if I'm wrong. -
How to trace a user who entered/dropped a table in a shared DataBase
Hai, I have a doubt plz help me
when working in a shared DataBase environment, different users will create or drop
tables from the DataBase. Is it possible to trace who has created/altered a particular table in the DB. If yes plz tell me the procedure.
Thanks in advance.
SrihariKrishnaMaybe this link provides some help?
http://asktom.oracle.com/pls/ask/f?p=4950:8:5395923770553724381::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:6399608034075
C. -
How to trace other email from bookmark
how to trace other user email from bookmark
Yes, you can pick which account, right on the email you want to send.
The From: field lists the available accounts. Click and select. -
How to trace the changes made by other user in portal
Hi All,
Actually i have a requirement like, some body has done some changes in Development server how to trace those chnages in portals or Visual Admin (who is the user and what are all the objects that got changed) .
Actually our development system , Quality and Production systems are working fine till yesterday but when we logon to the dev, qua, prd systems today there are some changes and some of the things are not working client was asking us whether we have done some canges if not who has done the changes.
Is there any place where all these changes can be recorded (likes who is the user and changes ....) or traced like log files or any thing else
Can any one help me out in this regard.
Thanks & Regards,
Ramesh.Hi ,
As you told some changes identified. so navigate to corresponnding portal obejcts and find modified and last changed by similar properties in the property editor object.
portal activity reports gives how many users visted specific pcd object but not who visited. You can use pcd filter to compare properties.
Regards,
Koti Reddy -
How to Trace the single Query Hits for single User
Hi BW Experts,
I have one doubt.
How do we know that How many times one User executed only one Report from last 2 months??
How do we trace it in BW System
Please tell me.
Thanks in advance
Regards
AnjaliHi Anil,
Thanks for the reply.
I checked in RSDDSTAT Table. But I could not understand from that Table.
How many times 'X' User is executed 'Y' Report (This is single Query/Report only) from last 2 months?
Regards,
Anjali -
HI,
Did any body know : how to trace users who are logging into sap system i.e ( I want to see 10 days before i.e on 17th day of january.. I want to see users who are logged in sap system.
Thanks
JhonyHi,
So, I was supposed to guess that you are using SAP R/3 4.0b ?
Please, think about the needed information that you need to provide with your questions...
Sorry, but I don't have anymore access to such an old release of R/3 and don't remember where you get the info.
Regards,
Olivier -
How to find a user who created message in satelite system ?
hi all,
Does anybody know how to find a user who created message in satelite system, but when there is no business partner created for him in Solman ? In tx crm_dno_monitro, crmd_order or dnotifwl there isn`t any information. Is there any Tx or something where i can check it ?
Regards,
M.Hi,
BP should ne maintained for the user in satellite system as a identification in solman system.
how you are trying to create a message in satellite system..
if you are using help-> create support message then, you can get the message log details on the table BCOS_PROT.
please update us
Thanks,
Jansi
Edited by: shivjansi on Jan 25, 2012 7:44 PM
Maybe you are looking for
-
Prelude 2.2.0 crashes on Ingest, OSX 10.9.1
I just updated my 2008 15" Macbook Pro (5,1) to Mavericks (10.9.1) and updated all my CC apps to the latest versions. I tried using Prelude CC 2.2 tonight and it crashed every time I tried to Ingest media, either double-clicking in the window or clic
-
Error in layouts for custom bdoc's
Hi All, we are using some custom bdoc's to generate the layouts ( document generate) for the MSA. for the custom bdoc the getrecordset() method is throwing error in the following code of layoutSQLStatement business object. Kindly let us know for a
-
Hi Experts, we are printing Output Labels for Handling Units after saving a Shipment. Following case: User save a Shipment and all HU-Outputs are created. If the User delete this Shipment and create another one with another Delivery ID (withsame ****
-
My mouse will scroll in Safari, but not in Mail. I've checked all the preferences but can't figure it out. Any help would be appreciated.
-
Num lock led flashes????
hi all, i wonder if this has happened to any of u out there with a MB in the hand, the led under the num lock key flashes REALLY repidly. here's how it happened: my MB was on mains with battery out, got my nano plugged in for charging, got itune on f