Privileged access using Yubikeys
yubico-piv-tool is needed initially to setup your yubico device. yubico-piv-tool is available with most Linux distributions. It is included in EPEL on RHEL systems. You can also download it using the below link.
https://developers.yubico.com/yubico-piv-tool/Releases/
1. Change PIN
The PIN must be between 6 and 8 characters long, and it can be any type of alphanumeric character.