LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-05-2002, 09:35 AM   #1
kamil
LQ Newbie
 
Registered: Mar 2002
Location: Netherlands
Distribution: mandrake
Posts: 7

Rep: Reputation: 0
Where to find the user log?


I have a mandrake linux box which operates as a web server. I created a login on it for myself and 2 friends. Now I'm searching for the file that hold the log of all login/logout actions. Where do I find this log file?

TIA,

Kamil
 
Old 04-05-2002, 05:32 PM   #2
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
On my RedHat and slackware systems it logs logins in /var/log/messages

I guess you are talking about logins from ssh or the console.
 
Old 04-05-2002, 06:10 PM   #3
kamil
LQ Newbie
 
Registered: Mar 2002
Location: Netherlands
Distribution: mandrake
Posts: 7

Original Poster
Rep: Reputation: 0
There is no such directory on my box...I already went through the /var/log dir course it seemed like a logical place to me.
And the log I'm looking for are of all user logins. Preferably local and remote.

Kamil
 
Old 04-05-2002, 08:31 PM   #4
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
Theres not a file called messages in /var/log/ ? Hhhmmm strange. Take a look in all the log files in /var/log maybe your distro names them different.
 
Old 04-06-2002, 04:10 AM   #5
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
/var/log/messages sometimes goes by /ver/log/syslog, but really I think you're looking for /var/log/lastlog, which you can look through with the simple command: "last"

RH I know does a monthly rotate on the lastlog which Deb and Slack just let it run on forever. My guess is Mandy rotates it, but there has to be an easy tool to configure that. The rotated out version is probably somewhere in /var/log just compressed.

Cheers,

Finegan
 
  


Reply



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
Samba -- XP user can log in to shares but smbclient user always gets password errors ejoe Linux - Software 3 04-18-2005 10:55 AM
Cant only log in as root after user log-in. ADJenkins Linux - General 2 11-17-2004 04:18 PM
Log Out root Then Log In As Other User xtremcoder Linux - General 4 10-04-2004 11:01 PM
Where can I find the startup log dejavu_01 Linux - Newbie 1 05-29-2004 01:34 AM
Cannot find log BajaNick Linux - Software 2 07-06-2003 08:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:56 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
Open Source Consulting | Domain Registration