LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-22-2010, 10:22 AM   #1
outsourcethis
LQ Newbie
 
Registered: Apr 2010
Posts: 1

Rep: Reputation: 0
Newbie needs help with logging


Hi all, new to this forum and fairly new to Linux. I'm experiencing a issue in my RedHat deployments that I was hoping someone could help me with.
I need to turn on logging so when a user accesses a folder I can log it. I also need to be able to log a users activity as in a user logs into the server then opens a folder then cd.. to another root folder etc. I need to be able to track that type of activity.

Is this possible to log this type of activity?

Thanks in advance
 
Old 04-22-2010, 11:29 AM   #2
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 704

Rep: Reputation: 55
Probably you have to look into rsyslogd deamon available with RHEL
 
Old 04-22-2010, 08:16 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,417

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
Look also at rootsh and inotify.
For remote logging, add '-r' to SYSLOGD_OPTIONS in /etc/sysconfig/syslog on receiving system.
On sender, edit /etc/syslog.conf eg

*.warn @192.168.1.1

IP Addr is that of the receiver
 
  


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
Terminal logging character problem -Newbie- anacondauser Linux - Newbie 2 03-08-2010 08:46 AM
newbie - logging terminal session to a file captainObvious Linux - General 3 11-09-2004 10:37 AM
Logging - howto for a newbie? MadCactus Linux - General 2 12-23-2003 03:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:13 PM.

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