![background image](http://html.mh-extra.com/html/cisco/5505-asa-firewall-edition-bundle/5505-asa-firewall-edition-bundle_cli-configuration-manual_186241724.webp)
1-90
Cisco ASA Series CLI Configuration Guide
Chapter 1 Configuring Connection Profiles, Group Policies, and Users
Configuring User Attributes
Setting a User Password and Privilege Level
Enter the
username
command to assign a password and a privilege level for a user. You can enter the
nopassword
keyword to specify that this user does not require a password. If you do specify a password,
you can specify whether that password is stored in an encrypted form.
The optional
privilege
keyword lets you set a privilege level for this user. Privilege levels range from 0
(the lowest) through 15. System administrators generally have the highest privilege level. The default
level is 2.
hostname(config)#
username
name
{
nopassword
|
password
password
[
encrypted
]} [
privilege
priv_level
]}
hostname(config)#
no
username
[
name
]
Table 70-8
describes the meaning of the keywords and variables used in this command.
Table 1-8
username Command Keywords and Variables
By default, VPN users that you add with this command have no attributes or group policy association.
You must explicitly configure all values.
The following example shows how to configure a user named anyuser with an encrypted password of
pw_12345678 and a privilege level of 12:
hostname(config)#
username anyuser password pw_12345678 encrypted privilege 12
hostname(config)#
Configuring User Attributes
After configuring the user’s password (if any) and privilege level, you set the other attributes. These can
be in any order. To remove any attribute-value pair, enter the
no
form of the command.
Enter username mode by entering the
username
command with the
attributes
keyword:
hostname(config)#
username
name
attributes
hostname(config-username)#
The prompt changes to indicate the new mode. You can now configure the attributes.
Configuring VPN User Attributes
The VPN user attributes set values specific to VPN connections, as described in the following sections.
Keyword/Variable
Meaning
encrypted
Indicates that the password is encrypted.
name
Provides the name of the user.
nopassword
Indicates that this user needs no password.
password
password
Indicates that this user has a password, and provides the password.
privilege
priv_level
Sets a privilege level for this user. The range is from 0 to 15, with lower
numbers having less ability to use commands and administer the ASA. The
default privilege level is 2. The typical privilege level for a system
administrator is 15.
Summary of Contents for 5505 - ASA Firewall Edition Bundle
Page 28: ...Glossary GL 24 Cisco ASA Series CLI Configuration Guide ...
Page 61: ...P A R T 1 Getting Started with the ASA ...
Page 62: ......
Page 219: ...P A R T 2 Configuring High Availability and Scalability ...
Page 220: ......
Page 403: ...P A R T 2 Configuring Interfaces ...
Page 404: ......
Page 499: ...P A R T 2 Configuring Basic Settings ...
Page 500: ......
Page 533: ...P A R T 2 Configuring Objects and Access Lists ...
Page 534: ......
Page 601: ...P A R T 2 Configuring IP Routing ...
Page 602: ......
Page 745: ...P A R T 2 Configuring Network Address Translation ...
Page 746: ......
Page 845: ...P A R T 2 Configuring AAA Servers and the Local Database ...
Page 846: ......
Page 981: ...P A R T 2 Configuring Access Control ...
Page 982: ......
Page 1061: ...P A R T 2 Configuring Service Policies Using the Modular Policy Framework ...
Page 1062: ......
Page 1093: ...P A R T 2 Configuring Application Inspection ...
Page 1094: ......
Page 1191: ...P A R T 2 Configuring Unified Communications ...
Page 1192: ......
Page 1333: ...P A R T 2 Configuring Connection Settings and QoS ...
Page 1334: ......
Page 1379: ...P A R T 2 Configuring Advanced Network Protection ...
Page 1380: ......
Page 1475: ...P A R T 2 Configuring Modules ...
Page 1476: ......
Page 1549: ...P A R T 2 Configuring VPN ...
Page 1550: ......
Page 1965: ...P A R T 2 Configuring Logging SNMP and Smart Call Home ...
Page 1966: ......
Page 2059: ...P A R T 2 System Administration ...
Page 2060: ......
Page 2098: ...1 8 Cisco ASA Series CLI Configuration Guide Chapter 1 Troubleshooting Viewing the Coredump ...
Page 2099: ...P A R T 2 Reference ...
Page 2100: ......