LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-07-2009, 03:47 AM   #1
ufmale
Member
 
Registered: Feb 2007
Posts: 386

Rep: Reputation: 30
are there logfiles show access activities?


I set up a linux machine (Redhat EL4) and create account for different users to access the system. Is there a way i can find out who has log in to the system and what they do? what directory they go to? or what file they view or copy to their machine?
 
Old 05-07-2009, 03:56 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.10, Centos 7.5
Posts: 17,565

Rep: Reputation: 2425Reputation: 2425Reputation: 2425Reputation: 2425Reputation: 2425Reputation: 2425Reputation: 2425Reputation: 2425Reputation: 2425Reputation: 2425Reputation: 2425
There are various logfiles eg /var/log/audit/audit.log, /var/log/messages etc.
You can also look at searching the user's bash_history and the tool inotify.
Also, the 'last' cmd
There isn't really one tool that does everything you mentioned.

You really need to decide just what you NEED to know and concentrate on that. If its a matter of security, then you need to learn about ownerships, permissions, acls, selinux, maybe tripwire and/or aide.
Also, iptables.

What are you trying to achieve and why?
 
Old 05-10-2009, 10:09 AM   #3
mpiekarski
LQ Newbie
 
Registered: May 2009
Location: Newark, DE
Distribution: Gentoo,ubuntu,rhel
Posts: 25

Rep: Reputation: 16
I know of the PERFECT solution for you. It is called sudosh. It is a shell you can set for a user. When someone logs in and does their thing, everything is logged. You can then use a tool called sudosh-replay to replay their entire session back to you through a console window almost like a video. Real fun stuff and VERY hilarious at times

Check http://sourceforge.net/projects/sudosh/ Or search yum / up2date.

------------------------------------
Michael Piekarski
Network Engineer
mpiekarski@hostmysite.com
www.hostmysite.com
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail logfiles don't show info for each sent/unsent mail gcan Linux - Software 2 04-11-2009 06:37 AM
mysql logfiles cccc Debian 1 02-24-2009 09:00 AM
Disable SSH access but show a message fr0st Linux - General 6 12-16-2003 08:50 AM
how to monitor logfiles ganninu Linux - General 4 12-07-2003 07:36 AM
Logfiles wonderpun Linux - General 3 09-01-2002 04:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:47 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration