Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
Finding out when a user last logged in
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.

Similar Threads

  1. strange eth* devices related messages appear/are logged > why? > fix?
    By rcocchiararo in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 09-22-2009, 12:50 PM
  2. finding mysql dir
    By usaf in forum Linux - General Topics
    Replies: 4
    Last Post: 04-20-2008, 01:16 AM
  3. New User - Help finding Ext USB H/D
    By rrushing in forum Redhat / Fedora
    Replies: 10
    Last Post: 01-25-2004, 03:04 AM
  4. route you to login page when not logged in.
    By in forum Announcements and Suggestions
    Replies: 2
    Last Post: 04-24-2002, 02:10 AM
  5. Time to stay logged in
    By kenshi in forum Announcements and Suggestions
    Replies: 7
    Last Post: 12-08-2001, 03:42 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
  •