1.8.2 Set username secret for all local users

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

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