3-33
Cisco Intrusion Prevention System Sensor CLI Configuration Guide for IPS 7.2
OL-29168-01
Chapter3 Setting Up the Sensor
Configuring Authentication and User Parameters
Step 7
Set the number of old passwords to remember for each accou nt. A new password cannot match any of
the old passwords of an account.
sensor(config-aut-pas)# number-old-passwords 3
Step 8
Check your new setting.
sensor(config-aut-pas)# show settings
password-strength
-----------------------------------------------
size: 8-64 <defaulted>
digits-min: 6 default: 0
uppercase-min: 3 default: 0
lowercase-min: 3 default: 0
other-min: 3 default: 0
number-old-passwords: 3 default: 0
-----------------------------------------------
sensor(config-aut-pas)#
For More Information
For the procedures for recovering sensor passwords, see Recovering the Password, page 17-2.
Locking User Accounts
Use the attemptLimit number command in authentication submode to lock accounts so that users cannot
keep trying to log in after a certain number of failed attempts. The default is 0, which indicates unlimited
authentication attempts. For security purposes, you should change this num ber.
To configure account locking, follow these steps:
Step 1
Log in to the sensor using an account with administrator privileges.
Step 2
Enter service authentication submode.
sensor# configure terminal
sensor(config)# service authentication
Step 3
Set the number of attempts users will have to log in to accounts.
sensor(config-aut)# attemptLimit 3
Step 4
Check your new setting.
sensor(config-aut)# show settings
attemptLimit: 3 defaulted: 0
sensor(config-aut)#
Step 5
Set the value back to the system default setting.
sensor(config-aut)# default attemptLimit
Step 6
Check that the setting has returned to the default.
sensor(config-aut)# show settings
attemptLimit: 0 <defaulted>
sensor(config-aut)#
Step 7
Check to see if any users have locked accounts. The account of the user
jsmith
is locked as indicated by
the parentheses.