LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-10-2006, 01:29 PM   #1
Harry Seldon
Member
 
Registered: Feb 2004
Distribution: SLES 9
Posts: 112

Rep: Reputation: 15
Determine last login - Mandrake 10


How can I determine the last time an ID authenticated on a system? I was looking for commands and ran across finger, which looks like what I want, but the example was Redhat. Is there another way to do this or do I just need to suck it up and install finger?
 
Old 10-10-2006, 01:35 PM   #2
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
hi there,
something like
Code:
last -a | head -n 3
should work for the last 3 access.
regards,
slackie1000
 
Old 10-10-2006, 02:06 PM   #3
Harry Seldon
Member
 
Registered: Feb 2004
Distribution: SLES 9
Posts: 112

Original Poster
Rep: Reputation: 15
Thanks; that last command is exactly what I needed.
 
Old 10-10-2006, 02:40 PM   #4
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
hi there,
you are always welcome.
regards,
slackie1000
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
The box is not able to determine username while I login other than root on RHEL4 abhi_raj Linux - General 4 07-20-2006 12:55 PM
Linux program to determine Win XP login status andrej666 Programming 2 03-08-2005 09:40 AM
Mandrake 10.1 login help sipo Linux - Software 5 03-01-2005 12:27 AM
How do login managers determine installed GUIs? bitpicker Linux - General 18 08-08-2004 09:00 AM
Unable to determine screen layout, mandrake dell laptop.. PolishVampire Linux - Laptop and Netbook 1 07-21-2004 08:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:55 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