Skip to main content

cPanel Control Panel "Last Login" clarification

Comments

3 comments

  • cPanelMichael
    Hello, The last login feature will only update the the IP address that logs in via cPanel if it's different than the previous entry. In other words, if you directly view the /home/$username/.lastlogin file, the IP address ed in cPanel should be the last IP address listed in this file that's not your own. Here's an example of the output from this file on a test system:
    10.1.1.1 # 2016-10-04 16:40:39 -0500 10.2.2.2# 2016-10-27 14:33:05 -0500
    If my IP address is "10.2.2.2", then I would see "10.1.1.1" in cPanel because it's the most recent entry in this file that isn't my own IP address. In addition, if I continue to login as "10.2.2.2", the file isn't updated unless the IP address logging in changes. I've opened a case with our documentation team to update the following document to better reflect this behavior. The cPanel Interface - Documentation - cPanel Documentation Thank you.
    0
  • martin MHC
    Thanks for the feedback, Michael. Exploring the .lastlogin file does put my mind at rest. Perhaps if CPanel can add a date/time detail to the info (for instance an HTML title tag) on the CPanel main page that would be very helpful (I imagine easily extracted from the comment data). I guess I should submit a feature request for this.
    0
  • cPanelMichael
    Hello, Our Documentation Team has published some changes to help clarify how the feature works:
    0

Please sign in to leave a comment.