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.
1. Change PIN
The PIN must be between 6 and 8 characters long, and it can be any type of alphanumeric character.
The default PIN code is 123456.It is important that the default PIN code is changed.