1.8.2 Set username secret for all local users

Information

A root-system user with a normal password will not be authenticated because the normal password is two-way encrypted and poses a security risk because the password information is stored in the flash disk, which can be easily decrypted.Secrets are one-way encrypted and cannot be easily reverted without brute-forcing.

If both secret and password are configured for a user, then secret takes precedence, and password security policy does not have any effect on authentication or change of password for such users.

Secrets use a one-way cryptographic hash.

Solution

IOSXR# configure
IOSXR(config)#username {local_username}
IOSXR(config)#secret {local_password}

commit

Impact:

Typically the username and secret are defined during initial setup. Make sure to use strong passwords or update it later accordingly.

See Also

https://workbench.cisecurity.org/benchmarks/10473

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-6(2), 800-53|AC-6(5)

Plugin: Cisco

Control ID: 81f8f5302acaebac4790de6781f06dc301574a327eb8145fe7c1ee9ce7b9f050