User account and password management
nsroot administrative user account.
-
System user account lockout
-
Lock system user account for management access
-
Unlock a locked system user account for management access
-
Disable management access for system user account
-
Force password change for
nsrootadministrative users -
Remove sensitive files in a system user account
-
Strong password configuration for system users
System user account lockout
persistentLoginAttemptsparameter can be enabled.
set aaa parameter -maxloginAttempts <value> -failedLoginTimeout <value> -persistentLoginAttempts (ENABLED | DISABLED)
set aaa parameter -maxloginAttempts 3 -failedLoginTimeout 10 -persistentLoginAttempts ENABLED
aaa.user.login_attempts expression to take effect, you must disable the "Persistent Login Attempts" parameter.
unset aaa parameter -persistentLoginAttempts command to disable (if enabled) the persistent login attempts.
show aaaparameter
Configured AAA parameters
EnableStaticPageCaching: YES
EnableEnhancedAuthFeedback: NO
DefaultAuthType: LOCAL MaxAAAUsers: Unlimited
AAAD nat ip: None
EnableSessionStickiness : NO
aaaSessionLoglevel: INFORMATIONAL
AAAD Log Level: INFORMATIONAL
...
Persistent Login Attempts: DISABLED
Configure system user account lockout by using the GUI
-
Navigate to Configuration > Security > AAA-Application Traffic > Authentication Settings > Change authentication AAA Settings.
-
In the Configure AAA Parameter page, set the following parameters:
-
Max Login Attempts. The maximum number of logon attempts allowed for the user to try.
-
Failed Login Timeout. The maximum number of invalid logon attempts by the user.
-
Persistent Login Attempts. Persistent storage of unsuccessful user login attempts across reboots.
-
-
Click OK.GUI configuration for system user account lockout
RBA Authentication Failure: maxlogin attempt reached for test. appears.
Lock system user account for management access
persistentLoginAttempts option in the aaa parameter.
set aaa parameter –persistentLoginAttempts DISABLED
lock aaa user test
Lock a system user account by using the GUI
-
Navigate to Configuration > Security > AAA-Application Traffic > Authentication Settings > Change authentication AAA Settings.
-
In Configure AAA Parameter, in the Persistent Login Attempts list, select DISABLED.
-
Navigate to System > User Administration > Users.
-
Select a user.
-
In the Select Action list, select Lock.Select lock option
Unlock a locked system user account for management access
unlock aaa user test
Configure system user unlock by using the GUI
-
Navigate to System > User Administration > Users.
-
Select a user.
-
Click Unlock.Configure system user unlock
nsroot administrator must use the CLI.
Disable management access for system user account
set system parameter localAuth <ENABLED|DISABLED>
set system parameter localAuth DISABLED
Disable management access to system user by using the GUI
-
Navigate to Configuration > System > Settings > Change Global System Settings.
-
In Command Line Interface (CLI) section, unselect the Local Authentication check box.
Force password change for administrative users
nsroot secured authentication, NetScaler prompts the user to change the default password to a new one if the forcePasswordChange option is enabled in the system parameter. You can change your nsroot password either from CLI or GUI, on your first login with the default credentials.
set system parameter -forcePasswordChange ( ENABLED | DISABLED )
ssh nsroot@1.1.1.1
Connecting to 1.1.1.1:22...
Connection established.
To escape to local shell, press Ctrl+Alt+].
###############################################################################
WARNING: Access to this system is for authorized users only #
Disconnect IMMEDIATELY if you are not an authorized user! #
###############################################################################
Please change the default NSROOT password.
Enter new password:
Please re-enter your password:
Done
Remove sensitive files in a system user account
removeSensitiveFiles option. The commands that remove sensitive files when the system parameter is enabled are:
-
rm cluster instance
-
rm cluster node
-
rm high availability node
-
clear config full
-
join cluster
-
add cluster instance
set system parameter removeSensitiveFiles ( ENABLED | DISABLED )
set system parameter -removeSensitiveFiles ENABLED
Strong password configuration for system users
-
One lower case character
-
One upper case character
-
One numeric character
-
One special character
set system parameter -strongpassword <value> -minpasswordlen <value>
Strongpassword. After enabling strong password (enable all / enablelocal) all the passwords or sensitive information must have the following:
-
At least 1 lower case character
-
At least 1 upper case character
-
At least 1 numeric character
-
At least 1 special character
enablelocal is - NS_FIPS, NS_CRL, NS_RSAKEY, NS_PKCS12, NS_PKCS8, NS_LDAP, NS_TACACS, NS_TACACSACTION, NS_RADIUS, NS_RADIUSACTION, NS_ENCRYPTION_PARAMS. So no Strong Password checks are performed on these ObjectType commands for the system user.
enableall, enablelocal, disabled Default value: disabled
minpasswordlen. Minimum length of the system user password. When the strong password is enabled by default, the minimum length is 4. User entered value can be greater than or equal to 4. Default minimum value is 1 when the strong password is disabled. Maximum value is 127 in both cases.
set system parameter -strongpassword enablelocal -minpasswordlen 6
Default user account
nsrecover user account can be used by the administrator to recover the NetScaler appliance. You can log on to NetScaler using nsrecover if the default system users (nsroot) are unable to log in due to any unforeseen issues. The nsrecover login is independent of user configurations and lets you access the shell prompt directly. You are always allowed to log in through the nsrecover irrespective of the maximum configuration limit is reached.