F5 is upgrading its customer support chat feature on My.F5.com. Chat support will be unavailable from 6am-10am PST on 1/20/26. Refer to K000159584 for details.

Forum Discussion

Techgeeeg_28888's avatar
Techgeeeg_28888
Icon for Nimbostratus rankNimbostratus
Jul 10, 2014

Last user login Logs

Hi Everyone,

 

I need to find out on my LTM box the way I can trace the last loged in user and its IP address, duration of session and also the changes made to the box during that session how can I do this is it possible to see this from GUI or only from commandline and how? (Authentication is done localy on the box)

 

Regards,

 

1 Reply

  • Hi,

    from CLI (not tmsh) command "last" get you the folowing result:

    admin  pts/0         10.19.6.5      Thu Jul 10 11:11   still logged in
    admin2 pts/0         10.19.6.5      Tue Jul  8 18:08 - 18:18  (00:10)
    admin2 pts/0         10.19.6.6      Tue Jul  8 10:55 - 10:55  (00:00)
    admin  pts/0         10.19.6.5      Mon Jul  7 10:35 - 13:50  (03:14)
    

    /var/log/audit -store audit logs (if configured from GUI System  ››  Logs : Configuration : Options/ Audit Logging)

    /home/user/.tmsh-history-admin - stores history of tmsh commands

    /home/user/..bash_history - stores history of linux shell commands

    From GUI (/var/log/audit file) System ›› Logs : Audit : List