Wireless Access

last person joined: yesterday 

Access network design for branch, remote, outdoor, and campus locations with HPE Aruba Networking access points and mobility controllers.
Expand all | Collapse all

AOS internal DB multi user addition with generated passwords

This thread has been viewed 1 times
  • 1.  AOS internal DB multi user addition with generated passwords

    EMPLOYEE
    Posted Dec 05, 2017 04:51 AM

    Hi all,

     

    It’s pretty much what the subject says, is it possible to add a bulk of users to the internal DB with randomly generated passwords and be able to export the user/password list later?

     

    The GUI allows you to add users one by one, with the option of generating a password per user. CLI allows to add multi users at once by copying them from a spread sheet with the "add user" command but you have to add a password for this command to work.

     

    How can I add my list of users and generate passwords for all (and view it later)?



  • 2.  RE: AOS internal DB multi user addition with generated passwords

    EMPLOYEE
    Posted Dec 05, 2017 05:48 AM

    You can add a random user on the commandline like this:

     

    (Aruba7640-US) #local-userdb add username user1 generate-password 
    
    GuestConnect
    Username: user1
    Password: EIII9029
    Start date: Tue Dec  5 04:46:00 2017
    
    Expiration: none

    You can just type "encrypt disable" and then "show local-userdb" to see all of the usernames and passwords:

    (Aruba7005-US) #encrypt disable 
    (Aruba7005-US) #show local-userdb
    
    
    User Summary
    ------------
    Name   Password   Role           E-Mail  Enabled  Expiry  Status  Sponsor-Name  Remote-IP  Grantor-Name
    ----   --------   ----           ------  -------  ------  ------  ------------  ---------  ------------
    test   test123    guest                  Yes              Active                0.0.0.0    admin
    user1  EIII9029   guest                  Yes              Active                0.0.0.0    admin
    
    User Entries: 3