ArubaOS and Controllers

Reply
Occasional Contributor II
Posts: 12
Registered: ‎04-15-2011

Change Role Name

This is probably posted elsewhere, but my search didn't pull up anything.

I have a role in the localdb called "admin_ipads". I would like to change the name of the role to "ipads". Is this possible?

Thanks in advance for any assistance. :D
Guru Elite
Posts: 20,773
Registered: ‎03-29-2007

Re: Change Role Name

If you have a USER in the local user database that is assigned to a ROLE, you would just change it on the commandline like this:

(3600) #show local-userdb


User Summary
------------
Name Password Role E-Mail Enabled Expiry Status Sponsor-Name Remote-IP Grantor-Name
---- -------- ---- ------ ------- ------ ------ ------------ --------- ------------
guest6241574 ******** guest Yes Active 0.0.0.0 admin
cjoseph ******** guest Yes Active 0.0.0.0 admin
whit ******** admin_ipads Yes Active 0.0.0.0 admin

User Entries: 3

(3600) #local-userdb modify username whit role ipads

(3600) #show local-userdb


User Summary
------------
Name Password Role E-Mail Enabled Expiry Status Sponsor-Name Remote-IP Grantor-Name
---- -------- ---- ------ ------- ------ ------ ------------ --------- ------------
guest6241574 ******** guest Yes Active 0.0.0.0 admin
cjoseph ******** guest Yes Active 0.0.0.0 admin
whit ******** ipads Yes Active 0.0.0.0 admin

User Entries: 3




Colin Joseph
Aruba Customer Engineering

Looking for an Answer? Search the Community Knowledge Base Here: Community Knowledge Base

Aruba Employee
Posts: 664
Registered: ‎04-15-2009

Re: Change Role Name

From the CLI, you can do a "show run", find the role you want to copy, cut the role and paste into notepad, change the name of the "user-role admin_ipads" to "user-role ipads", then paste it back into the CLI under config mode.

Then, you can reference user-role ipads where ever you used admin_ipads.

After admin_ipads is no longer used, you can delete it.

I wish we had an edit button, but it is what it is....
Guru Elite
Posts: 20,773
Registered: ‎03-29-2007

Re: Change Role Name

Olin,

Thanks for answering the REAL question :)


Colin Joseph
Aruba Customer Engineering

Looking for an Answer? Search the Community Knowledge Base Here: Community Knowledge Base

Occasional Contributor II
Posts: 12
Registered: ‎04-15-2011

Re: Change Role Name

Thanks guys. Much appreciated.
Search Airheads
Showing results for 
Search instead for 
Did you mean: