For small businesses, using an external user database such as Cisco ACS is not always feasible. Fortunately, Cisco ASA software includes the ability to use a local user database for authenticating administrators and remote access users.

The commands are pretty straight forward: to add a user, enter the username command. For example:

Firewall(config)# username bgeorge password b3lucky

By default, the ASA assigns users a privilege level of 2. On a scale of 0 to 15, this sounds harmless. However, this is enough to allow access to all commands within privileged EXEC mode! Those coming from an IOS background assume the enable password will prevent users from gaining access to privileged mode - not the case. By default, a user can enter the login command from user EXEC mode which allows them privileged EXEC access with their assigned level. For example, the user bgeorge accesses the ASA user EXEC mode:

Firewall> login
Username: bgeorge
Password: b3lucky
Firewall# show curpriv
Username : bgeorge
Current privilege level : 2
Current Mode/s : P_PRIV
Firewall#

The user bgeorge now has full access to the ASA!

The simple way to prevent this is make sure you assign a privilege level to each user. If bgeorge is a remote-access user, assign a privilege of 0. Also, enabling local command authorization will mean even users with a default privilege level of 2 won’t have access to practically any command from within privileged EXEC mode. To activate local command authorization, enter the following:

Firewall(config)# aaa authorization command LOCAL

You can view the commands and their default privilege level as follows:

Firewall# sh run all privilege all

Administrators may wish to keep the enable password different from the user password (similar to IOS). If you wish to do this, ensure all user accounts are set to privilege level 0. To access privileged mode, use the enable command followed by the enable password. This places you at level 15 as user ‘enable_15′. The recommended method is to configure authentication for the enable command as follows:

Firewall(config)# aaa authentication enable console LOCAL

This forces users into their assigned privileged level by requiring their own password instead of the enable one. For example, typing the enable command from user EXEC mode now requires the user’s password, not the enable password. There is no indication of this to the user as the prompt is the same. Used in conjunction with local command authorization, this provides a basic level of security to the administration of your ASA.

Finally, if you do add users to the local database for remote-access, you can restrict them access to a specific group using the group-lock command. By default, the users are allowed to access any group as they inherit this from the default group policy. The following is an example of how to configure this:

Firewall(config)# username johnd password c1sc0 privilege 0
Firewall(config)# username johnd attributes
Firewall(config-username)# group-lock value vpn-admin

This will limit user johnd to the vpn-admin group.

3 Responses to “ASA 7.x Local Users”

  1. Simon says:

    John,

    I noticed you mentioned in the Title ASA v7.x I take it these commands and findings also relate to the ASA v8.x software?

  2. John says:

    Hi Simon,

    Yes, you can also apply this to version 8 as well. There is even the option to assign a user a ‘type’ such as remote-access or admin using the service-type command within the username attributes:

    http://www.cisco.com/en/US/docs/security/asa/asa80/configuration/guide/aaa.html#wpxref64390

  3. Simon says:

    Thanks I have noticed there are more aaa commands added in 8.0(2) command line reference guide aswell, however I’m unable to find 8.0(3) commandline ref guide as yet on the cisco site.

Leave a Reply

Add to Technorati Favorites Add to Google
  • Buy Cheap buy lasix Now Low Prices. Drug Store Without A Prescription.
  • Buy Cheapest information online pharmacy valium Online Top Online Pharmacy. Best Drugstore.
  • Buy Cheap viagra orgasm Now FDA Approved Rx: Online Pharmacy. Low Prices.
  • Buy Cheap mexican pharmacy online purchase Now Best Internet. Internet Prices For mexican pharmacy online purchase!
  • Buy Cheapest viagra pill Now WorldWide Shipping. Cheap Online Pharmacy.
  • Buy Cheapest usa online pharmacy Online Best Internet. Free Viagra Pills!
  • Buy Cheapest low price cialis Online Best Prices. Pharmacy At The Best Price!
  • Buy Cheapest cheap online ultram Now Special Prices For cheap online ultram! Low Prices.
  • Buy Cheapest cheap atenolol Online Guaranteed Shipping. Pharmacy Store.
  • Buy Cheapest trazodone hydrochloride Now Guaranteed Shipping. Cheap Online Pharmacy.
  • Buy Cheapest strongest appetite surpressant Now Best Drugstore. 24/Online Pharmacy.
  • Buy Cheap cheap cialis find Now The Largest Internet Pharmacy. Best Drugstore.
  • Buy Cheap vitamins supplements Now Online Prices For vitamins supplements! Pharmacy Store.
  • Buy Cheapest phentermine prescription Now 24/Online Pharmacy. Best Internet.
  • Buy Cheapest tramadol fast Now Cheap Pharmacy Online. Online Medical Shop.
  • Buy Cheapest treatment for menstrual cramps Online Best Prices. Pharmacy At The Best Price!
  • Buy Cheapest sildenafil citrate online Online Special Prices For sildenafil citrate online! Best Prices.
  • Buy Cheap levitra generic vardenafil Online Discount Pharmacy Online. Best Drugstore.
  • Buy Cheap cialis doses Online Best Internet. No Prescription Needed.
  • Buy Cheap cialis fast shipping Now Cheap Prescription Drugs. Best Drugstore.
  • Buy Cheap trazodone medicine Online Best Prices. Discount Online Pharmacy.
  • Buy Cheapest diflucan pharmacy Now Guaranteed Shipping. Best Drugstore.
  • Buy Cheap pain medicine without prescription Online Free Viagra Pills! 24/Online Pharmacy.
  • accutane online prescription Online Without Prescription Best Prices. Best Online.
  • Buy Cheap cialis overnight shipping usa pharmacy Online Top Online Pharmacy. Guaranteed Shipping.
  • Buy Cheap buy viagra soft online Online WorldWide Shipping. Top Online Pharmacy.
  • Buy Cheap lorazepam withdrawal Online Best Online. Order Cheap Meds Without Rx.
  • Buy Cheapest ambien canada Now Cheap Online Pharmacy. Top Online Pharmacy.
  • Buy Cheap prescription diet med Online Free Viagra Pills! WorldWide Shipping.
  • Buy Cheap buy pain pills online Online Best Prices. 24/Internet)(safe Pharmacy.
  • Buy Cheap viagra side affects Now Free Viagra Pills! 24/Online Pharmacy.
  • Buy Cheap no prescription propecia Now Top Online Pharmacy Supplier. Low Prices.
  • Buy Cheapest online shopping coupons for vitamin shoppe Now Cheap Pharmacy Online. Guaranteed Shipping.
  • Buy Cheapest viagra purchase Now No Prescription Needed. Free Viagra Pills!
  • Buy Cheap klonopin side effects Online Discount Online Pharmacy. Best Drugstore.
  • Buy Cheap order cialis without prescription Online Pharmacy Store. Top Online Pharmacy.
  • Buy Cheap ativan suppliers uk Now Cheap Online Pharmacy. Cheap Pharmacy Online.
  • Buy Cheap buy online diuretic no prescription Online Online Prices For buy online diuretic no prescription! Best Prices.
  • Buy Cheap no prescription cheap viagra Now Best Internet. Drugs, Health And Beauty.
  • Buy Cheap zolpidem 10 Now Best Internet. Discount Pharmacy Online.
  • Buy Cheap online pharmacy australia Now Best Internet. 24/Internet)(safe Pharmacy.
  • Buy Cheap ambien buy Online Pharmacy Store. No Prescription Needed.
  • Buy Cheapest levitra without prescriptions Now 24/Internet)(safe Pharmacy. Best Prices.
  • Buy Cheapest pain remedy Now Special Prices For pain remedy! Pharmacy Store.
  • Buy Cheap viagra without perscription Now Free Viagra Pills! Internet Prices For viagra without perscription!
  • Buy Cheap the vitamin store Online Internet Prices For the vitamin store! Low Prices.
  • Buy Cheap codeine without a prescription Now Cheap Online Pharmacy. Guaranteed Shipping.
  • Buy Cheapest buy pain pills Online Cheap Pharmacy Online. Pharmacy Store.
  • Buy Cheapest zyban quit Now Buy Medications Online. Best Online.
  • Buy Cheap diet pills that are fda approved Online Cheap Pharmacy Online. Online Medical Shop.
  • Buy how does viagra work? Online Without Prescription. Best Online. Low Prices.
  • Buy Cheap get phentermine Now 100% Satisfaction Guaranteed. Best Online.
  • Buy Cheapest levitra canada Online Best Prices. Buy Medications Online.
  • Buy Cheapest viagra 100 mg Online Guaranteed Shipping. Best Prices.
  • Buy Cheap buy online viagra phentermine xanax Now Online Medical Shop. 24/Online Pharmacy.
  • Buy Cheapest pet health pharmacy Now Cheap Prescription Drugs. Best Internet.
  • Buy Cheap headache medications Online Pharmacy Store. Drugs, Health And Beauty.
  • Buy Cheap viagra experiences Now Free Viagra Pills! Cheap Prescription Drugs.
  • Buy Cheap canada drug pharmacy Now Online Medical Shop. Online Prices For canada drug pharmacy!
  • Buy Cheapest impotence drugs Online Low Prices. Cheap Pharmacy Online.
  • Buy Cheapest how to get viagra Now Best Prices. Buy Medications Online.
  • Buy Cheap diet pill information Now Low Prices. Top Online Pharmacy Supplier.
  • Buy Cheapest wholesale vitamin Online Best Online. Discount Pharmacy Online.
  • Buy Cheapest cheap tramadol fedex overnight Online Pharmacy Store. WorldWide Shipping.
  • Buy Cheapest buy diazepam cheap Online Best Drugstore. Cheap Pharmacy Online.
  • Buy Cheap buy levitra online Now Best Internet. Cheap Prescription Drugs.
  • Buy Cheap vpxl herbal Online Best Prices. No Prescription Needed.
  • Buy Cheapest bayer levitra Now Cheap Prescription Drugs. Low Prices.
  • Buy Cheap levitra coupon Now Low Prices. Internet Prices For levitra coupon!
  • Buy Cheap cialis cheap overseas Now 24/Online Pharmacy. No Prescription Needed.
  • Buy Cheapest new antidepressant medications Now Online Medical Shop. Top Online Pharmacy.
  • Buy Cheap how fast does valium work Now Online Prices For how fast does valium work! Top Online Pharmacy.
  • Buy Cheap viagra best buy Now 100% Satisfaction Guaranteed. Best Prices.
  • Buy Cheapest phentermine hydrochloride Online Best Prices. 24/Online Pharmacy.
  • Buy Cheapest viagra and high blood pressure Now Best Internet. Pharmacy At The Best Price!
  • Buy Cheapest nexium take Online Best Drugstore. 24/Online Pharmacy.
  • Buy Cheap buy phentermine without a prescription Online Best Internet. Pharmacy At The Best Price!
  • Buy Cheap legal codeine Now Online Prices For legal codeine! WorldWide Shipping.
  • Buy Cheapest online meds Online Internet Prices For online meds! Low Prices.
  • Buy Cheap arthritis buy medication Now Pharmacy Store. Special Prices For arthritis buy medication!
  • Buy Cheapest lexapro drug Online Buy %items% Online Without Prescription.
  • Buy Cheapest viagra side effects Online Cheap Prescription Drugs. Best Internet.
  • Buy Cheapest drug treatment guidelines depression Now Guaranteed Shipping. Cheap Pharmacy Online.
  • Buy Cheapest pain medicine without prescription Now 24/Online Pharmacy. Best Drugstore.
  • Buy Cheap cheap cialis generic Now Drugs, Health And Beauty. Free Viagra Pills!
  • Buy Cheapest zolpidem side affects Now Pharmacy Store. Guaranteed Shipping.
  • Buy Cheapest generic cialis price Now Best Online. Buy Medications Online.
  • pain medications without a prescription Online Without Prescription Best Prices. Best Internet.
  • alprazolam online pharmacy Online Without Prescription Best Online. WorldWide Shipping.
  • Buy Cheapest levitra vardenafil hcl Now 24/Internet)(safe Pharmacy. Low Prices.
  • Buy Cheap generic viagra india Now Pharmacy Store. 24/Internet)(safe Pharmacy.
  • Buy Cheapest generic cialis cheapest lowest price Now Best Drugstore. Special Prices For generic cialis cheapest lowest price!
  • Buy Cheap non prescription drugs against depression Online 24/Online Pharmacy. Guaranteed Shipping.
  • Buy Cheapest viagra for sex Now Buy Medications Online. WorldWide Shipping.
  • Buy Cheap order ambien online Now Top Online Pharmacy Supplier. Best Online.
  • Buy Cheap ultram generic Online WorldWide Shipping. Free Viagra Pills!
  • Buy Cheapest viagra professional canada Now Internet Prices For viagra professional canada! Best Internet.
  • Buy Cheap antidepression drug Now Cheap Prescription Drugs. Best Drugstore.
  • Buy Cheap chlamydia drugs Now All Medications Are Certificated! Best Prices.
  • Buy Cheap cost of levitra Now Guaranteed Shipping. Drugs, Health And Beauty.