Networking Forums

Networking Forums > Computer Networking > Linux Networking > How to tell when users last logged in?

Reply
Thread Tools Display Modes

How to tell when users last logged in?

 
 
Ohmster
Guest
Posts: n/a

 
      04-13-2005, 10:54 PM
I have a wonderful redhat 9 gateway/server/firewall on a 24/7 ADSL
connection, it has 3 FQDNs on it and I made a few accounts for my friends
to use so that their /public_html directories can be used for a web host. I
use apache and have userdirs turned on and used the httpd.conf file to add
virtual hosts for the FQDNs. Some of these accounts seem to be unused for a
long, long time and I would like to know for how long these accounts are
not used. Then, if these accounts really are not being used for over 6
months, I can ask that I might remove the accounts.

How can I tell when the user last logged into the system? Is there a
command for this and do I need to add anything to the system so that it
will log user account logins? I would rather not log my own logins as there
would be too many of them, but would like to log it for certain accounts. I
tried the command "last" but only see my own logins for this month. I think
the ones that I want information on have not been logged into for over 6
months. Thanks guys.

--
~Ohmster
ohmster at newsguy dot com
 
Reply With Quote
 
 
 
 
Maurizio Loreti
Guest
Posts: n/a

 
      04-14-2005, 05:45 AM
Ohmster <(E-Mail Removed)> writes:

> How can I tell when the user last logged into the system?


man last

--
Maurizio Loreti http://www.pd.infn.it/~loreti/mlo.html
Dept. of Physics, Univ. of Padova, Italy ROT13: (E-Mail Removed)
 
Reply With Quote
 
Ohmster
Guest
Posts: n/a

 
      04-14-2005, 12:27 PM
Maurizio Loreti <(E-Mail Removed)> wrote in
news:(E-Mail Removed):

>> How can I tell when the user last logged into the system?

>
> man last


Tried that, not what I was looking for. lastlog did the trick.

--
~Ohmster
ohmster at newsguy dot com
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
List users currently logged on thru Radius server Ray Brown Windows Networking 0 11-03-2006 01:06 AM
Showing of users that are actually logged on FSN Tech Windows Networking 0 02-03-2006 04:42 PM
how can i know how many users have logged on into the domain? Amir Marouani Windows Networking 1 01-15-2006 02:32 PM
Multiple users logged on one machine with WiFi... is it possible? Francois Wireless Networks 0 09-07-2005 06:44 PM
Win 98 machines lock users account will still logged in. Chris Miles Windows Networking 0 10-24-2003 05:33 PM



1 2 3 4 5 6 7 8 9 10 11