Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

log files 1

Status
Not open for further replies.

SM777

Technical User
Mar 7, 2001
208
GB
Where do I find the security log file on Redhat 6.1?

What I want to look at is the file which records telnet sessions. When I telnet it tells me the address of the last location to telnet. Where do I find the file that holds this information?

Appart from the access log file what other log files are there and worth checking now and again?

Are there any Apache files I can look at too?
 
Hi,





Look in /var/log/secure, /var/log/secure.1, /var/log/secure.2, etc.





For Apache its various files within the /var/log/httpd subdirectory





Rgds
 
I can see the files in there but I get permission denied if I try to pico or cp the files.
 
Dear friend,
You can try to change the permissions onn it
If you logged in as root try chmod 744 and the file.This might solve the problem.

krischrist
 
ok, silly question guys... how do I log in as root?
 
Dear friend,
I you have logged in not as a root, then on the command prompt type su (switch user) then you are prompted for a root password.Give that and you log as root.

Krischrist
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top