Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-01-2006, 05:57 AM   #1
Registered: Oct 2005
Location: Bangladesh
Posts: 497

Rep: Reputation: 30
Lightbulb Find out log file who enter my pc

Dear ,

Let ,I am administrator of Linux Enterprise Server and i have 5 user . Every user can access my Linux server for using their owd user ID. Now i have two questions :

If one of them , enter my pc using "root" password or their
"own password" , I want to make trace or i want to find out the log files so that i understnad what they did in my Linux server
in both cases using "root" password or using "their own" password . Is there any tools for this purpose ? Plz help...
Old 07-01-2006, 12:22 PM   #2
Senior Member
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
Use 'last'. It will display logins, time of the logins, source of the ip address, and duration of the login. If you want to know what each user did/typed on your machine, you need to install process accounting as linux does not log that info.

Old 07-01-2006, 01:03 PM   #3
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Be aware that anyone with root priviliges can and probably will erase/modify the log files. You can set syslog up to send its logs to a remote server which only you have access to (and ideally only console access, no remote access allowed at all). Read the syslog.conf man pages for more details.

There is also BSD style process accounting, but it doesn't seem to be used much and must be specifically compiled into the kernel.


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
Unable to enter file:///. trscookie Linux - Software 4 11-19-2005 08:21 AM
cvs: forgot to enter log message. rgiggs Linux - Software 1 08-18-2005 08:54 PM
where can i find mysql log file myheart Linux - Networking 6 01-07-2005 04:36 AM
Where to find the proper log file? mykrob SUSE / openSUSE 1 10-27-2004 10:12 AM
Does Linux write what happens at boot to a file ? I can't find anything in var/log . lostboy Linux - General 8 05-07-2003 02:58 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:57 AM.

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