Link to home
Start Free TrialLog in
Avatar of oamal2001
oamal2001

asked on

which IP

Dear Experts,

Is it possible to know which IP address modified a script file in Solaris?

Thanks,
Avatar of Gerwin Jansen
Gerwin Jansen
Flag of Netherlands image

Files are modified by users, not IP addresses.

In case you have logging enabled that shows you when a user logged on from which IP address then you could match the time stamp of the file to that of the logon time.

But if you have multiple logons at the same with the same user-id (functional use) then this will be impossible.
ASKER CERTIFIED SOLUTION
Avatar of Pepe2323
Pepe2323

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
@oamal2001 - Can you elaborate on how the solution you've selected solves your question?
Avatar of oamal2001
oamal2001

ASKER

I checked when the file last modified , checked who were logged in at that time and matched that time with user connected at that time
@oamal2001 - Ok, so you got an answer to which user modified the file. That is an answer to a different question (Who modified ... instead of Which IP modified ...), I suggest that you have this question deleted.
You are right I needed from the beginning the IP address , but it happen that modification of the file were on a time only one user logged to the system and because I'm not familiar with UNIX administration I did not think about the time of modification.
Ok, you've got your answer in the end, I'll just make sure this question is removed from search results. Thanks.