Network Management

last person joined: 9 hours ago 

Keep an informative eye on your network with HPE Aruba Networking network management solutions
Expand all | Collapse all

See which users are logged in on Airwave

This thread has been viewed 1 times
  • 1.  See which users are logged in on Airwave

    Posted May 27, 2015 07:01 AM

    Good day,

     

    I was wondering if there is a command or report that you can generate in AIrwave to see which users have logged into Airwave at any given time?

     

    Thanks



  • 2.  RE: See which users are logged in on Airwave
    Best Answer

    EMPLOYEE
    Posted May 28, 2015 11:08 AM

    There's no current way from the UI, but if you're in the CLI, you can do the following:

     

    For tracking of CLI user logins:

    # last -10

    (this shows the last 10 connections made to the server via CLI -> this is primarily the reason that I suggest to customers to not use root, but add new CLI users using "useradd" and then adding to sudoers list for better CLI tracking)

     

    For tracking of AMP UI users:

    You'll mainly be looking at the access_log in /var/log/httpd

    and want to make sure that all users with access to the UI have their own login usernames

    (if they don't, then you may want to add users into AMP Setup -> Users, and change the common 'admin' user's password or disable admin acct)

    # tail -f /var/log/httpd/access_log | awk '{print $3}'

    This yields the current users with currrnt activity on the UI

    For a list of users in that existing log file:

    # awk '{users[$3]++}END{for (a in users) print a|"sort -n"}' /var/log/httpd/access_log

    Ex output:

    # awk '{users[$3]++}END{for (a in users) print a|"sort -n"}' /var/log/httpd/access_log
    -
    admin

    mac_test

    pc_test

    rgin
    Sp7MsrrvWI

    trex

    (Where my actual user logins were admin, mac_test, pc_test, rgin, and trex.  The hash looking username is used by VisualRF.  And the '-' can be attributed to background apache processing, which includes login page prior to authentication.)



  • 3.  RE: See which users are logged in on Airwave

    Posted Jun 04, 2015 03:19 AM

    Great,

     

    Thanks Rob