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.