Computing.Net > Forums > Linux > Log file

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Log file

Reply to Message Icon

Name: Truc Nguyen
Date: May 16, 2007 at 09:32:44 Pacific
OS: Linux
CPU/Ram: 255
Comment:

Hi,

In Linux Red Hat 8.0, there is a log file to audit trails: time of log in , user, applcations, program,... Do you know what the name of file is ?

Thank you for your instructions.
Best



Sponsored Link
Ads by Google

Response Number 1
Name: Guy
Date: May 17, 2007 at 17:26:54 Pacific
Reply:

There are a variety of system logs.

Look in the /var/log directory.

Some log files and some subdirectories for logs are there.

The main system log file is /var/log/messages.


0

Response Number 2
Name: sillygates
Date: May 23, 2007 at 02:04:11 Pacific
Reply:

in linux all this stuff is logged to a facility called syslog. syslog can be configured to store this stuff anywhere, and split them in various ways, or forward the events to a remote log server.

see: /etc/syslog.conf

It has been a long time since I have seen a rh system that old, but all those entries should be in /var/log/secure by default.

if you just want to see who logged in, that is stored in a wtmp file, which is not written by syslog. To read the entries in wtmp use the command "last"

Josh Lange


0

Response Number 3
Name: sillygates
Date: May 23, 2007 at 02:07:35 Pacific
Reply:

syslog is voluntary, not all applications use it, so applications that a person runs are generally not logged to files at all. You might want to look at their .bash_history in their home directory if you need to run an audit, but this is easily changable by the user

Josh Lange


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Log file

ipchains log file www.computing.net/answers/linux/ipchains-log-file/21287.html

wu-ftp log files and ratio www.computing.net/answers/linux/wuftp-log-files-and-ratio/1854.html

SSH log files www.computing.net/answers/linux/ssh-log-files/12252.html