+ Reply to Thread
Results 1 to 6 of 6

Thread: Finding out when a user last logged in

  1. #1

    Finding out when a user last logged in

    Is there a simple command that will list when all your users last logged in?

  2. #2
    Mentor
    Join Date
    Jun 2001
    Posts
    1,672

    Re: Finding out when a user last logged in

    Issue the "last" command. You might have to write a script to parse the relevant information out.

  3. #3
    Guest

    Re: Finding out when a user last logged in

    lastlog is helpful too. It gives when a user last log, not a listing of loggings.

  4. #4

    Re: Finding out when a user last logged in

    Too bad it doesn't catch ftp logins.... (lastlog that is)

  5. #5

    Re: Finding out when a user last logged in


    Too bad it doesn't catch ftp logins.... (lastlog that is)
    Very true. I'm looking for something that will catch ftp or a mail log in (mail users log in via a web-based client). None of the above seem to do the trick. What I am trying to do is determine how often people access their mail accounts so I can get rid of accounts that have been inactive for 90 or so days. Does anyone know of anything that will help me monitor such access?

  6. #6

    Re: Finding out when a user last logged in




    Very true. I'm looking for something that will catch ftp or a mail log in (mail users log in via a web-based client). None of the above seem to do the trick. What I am trying to do is determine how often people access their mail accounts so I can get rid of accounts that have been inactive for 90 or so days. Does anyone know of anything that will help me monitor such access?
    Well, my /var/log/maillog keeps track of imap/pop logins, but webmail logins arn't tracked.

+ Reply to Thread

Similar Threads

  1. vsftpd : cannot login with non-anonymous user ...
    By debellez in forum Linux - Hardware, Networking & Security
    Replies: 8
    Last Post: 05-10-2006, 08:12 PM
  2. Create and Configure User Accounts in Windows XP
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-04-2005, 07:48 AM
  3. Live Communications Server 2005 Glossary
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-01-2005, 09:16 PM
  4. New User - Help finding Ext USB H/D
    By rrushing in forum Redhat / Fedora
    Replies: 10
    Last Post: 01-25-2004, 03:04 AM
  5. MySQL user question
    By mcdougrs in forum Linux - Hardware, Networking & Security
    Replies: 3
    Last Post: 12-09-2002, 12:56 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts