Access Keys:
Skip to content (Access Key - 0)

How can I find out when someone last logged on to Athena?

There is no reliable way to determine when someone last logged on to Athena. However, a best estimate can be obtained by looking at AFS volume information.

A script called "lastlog" in the consult locker can easily do this for you:

joeuser@athena:~$ athrun consult lastlog username

Note: Be sure to fill in the correct information for username.

For example:

joeuser@athena:~$ add -f consult
joeuser@athena:~$ lastlog joeuser
joeuser:      	-examining AFS volume in processing...
		Last updated on: Wed Feb 18 18:35:28 2009

The date listed in the output is when the user's AFS volume was last updated, which is most likely the last time they logged in.

If you omit the "-f" argument to add, the command will not work, because there is a similarly named yet different command called "lastlog" located in /usr/bin.

IS&T Contributions

Documentation and information provided by IS&T staff members

Last Modified:

January 22, 2016

Get Help

Request help
from the Help Desk
Report a security incident
to the Security Team
olc-accounts olc-accounts Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
This product/service is:
Easy to use
Difficult to use

This article is:
Adaptavist Theme Builder (4.2.3) Powered by Atlassian Confluence 3.5.13, the Enterprise Wiki