LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices

Reply
 
LinkBack Search this Thread
Old 12-19-2011, 02:44 AM   #1
nishith
Member
 
Registered: Aug 2008
Posts: 95

Rep: Reputation: 15
Smile AIX file modification


Hello,

I am using IBM AIX 5.3 OS release 16 on Power 520 Servers. I have installed "Oracle Application Server" on it & for website purpose.

Now, I have provided oracle user access to another company,who is maintaining Oracle Web Server.

So, I would like to know how to track their activity like,

* User who have logged into AIX Server with time frame with their IP Address.

* Failed login attempts on AIX Server.

* Which file they have changed with modification date & contents of the file that has been modified.

Is it possible to get all above 3 outputs in a simple txt file, so that i can import it & make hard copy print.

I am doing this exercise for my internal audit purpose only.

Please help.
 
Old 01-17-2012, 04:03 PM   #2
smallpond
Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 455

Rep: Reputation: 85
Quote:
Originally Posted by nishith View Post
Hello,

I am using IBM AIX 5.3 OS release 16 on Power 520 Servers. I have installed "Oracle Application Server" on it & for website purpose.

Now, I have provided oracle user access to another company,who is maintaining Oracle Web Server.

So, I would like to know how to track their activity like,

* User who have logged into AIX Server with time frame with their IP Address.
last
Quote:
* Failed login attempts on AIX Server.
who -a /etc/security/failedlogin
Quote:
* Which file they have changed with modification date & contents of the file that has been modified.
Are you looking for diff with the former contents? Where do you keep the old contents?
Quote:
Is it possible to get all above 3 outputs in a simple txt file, so that i can import it & make hard copy print.
It is possible if you make some effort.

Last edited by smallpond; 01-17-2012 at 04:04 PM. Reason: to fix quoting
 
Old 01-27-2012, 08:42 PM   #3
-=Graz=-
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Fedora, Slackware, RHEL, AIX, HP-UX
Posts: 356

Rep: Reputation: 31
Quote:
Originally Posted by nishith View Post
Which file they have changed with modification date & contents of the file that has been modified.
This is going to be difficult. You could obviously use find to look for files owned by a certain user and last modified time but thats not going to help you in situations where group write has allowed a file to be modified by a number of users etc..

AIX auditing may help you, http://www.ibm.com/developerworks/aix/library/au-audit/ . Its something i've not actually used myself though.

Last edited by -=Graz=-; 01-27-2012 at 08:47 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
An Unusual File Modification manaila Linux - Newbie 2 09-28-2011 08:34 AM
Sudoers File Modification musclehead Linux - Newbie 1 07-13-2009 11:53 AM
sendmail.cf file modification dody1313 Solaris / OpenSolaris 1 07-30-2008 10:25 AM
Track File modification dhammika Programming 1 11-25-2005 06:03 AM
file modification in linux nov Linux - Newbie 3 06-05-2005 09:02 AM


All times are GMT -5. The time now is 08:55 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration