The script /usr/sbin/grub2-set-password is created in the grub2 SRPM by the
patch file 0028-Add-friendly-grub2-password-config-tool-985962.patch as of
RHEL 10. (The patch number varies - in RHEL 8, for instance, the file isĀ
created by SOURCES/0063, SOURCES/0192, and SOURCES/0192.)
The script as generated has no copyright nor licensing informationĀ
associated, and consequently is not free software. It needs a licenseĀ
attached.