LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 07-13-2004, 11:12 AM   #1
eam
Member
 
Registered: Nov 2003
Location: USA
Distribution: Slackware
Posts: 67

Rep: Reputation: 15
Last login


How could I see what the last login time of a user is?
 
Old 07-13-2004, 11:28 AM   #2
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
"lastlog" will do so, as root. You'll prob'ly get a permission error on /var/log/lastlog if you run it as a regular user. You could add read permission to change that, or only use it as root.
 
Old 07-13-2004, 12:20 PM   #3
eam
Member
 
Registered: Nov 2003
Location: USA
Distribution: Slackware
Posts: 67

Original Poster
Rep: Reputation: 15
Thanks, that's exactly what I needed.
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to setup system Login banner and Login message 06-03-05 Linux - Newbie 11 08-26-2018 01:00 PM
wrong login shell prevent root login cefs99 Linux - Security 4 05-31-2006 09:28 AM
Crazy blank dialog boxes and windows at login. Can't login as user soren625 Linux - General 2 08-11-2004 07:30 AM
login screen font size over 100 - can't login xzy2435 Linux - Newbie 1 11-20-2003 12:40 PM
Changin Graphical Login to command line login 3DLirio Linux - Newbie 2 10-16-2003 10:43 PM

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

All times are GMT -5. The time now is 08:31 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration