I just deployed a new system using Rocky-9.7-x86_64-minimal.iso. After executing the commands below, regular users can still switch to root by running copy_fail_exp.py.
If the copy-fail script works, then there is no Password: prompt!
If there is a Password prompt, then the script failed to modify the page cache for su and so copy fail does not work.
That’s the key point for me, you could have a situation where some complex bug only happens on Rocky and not on RHEL, or the other way round, and there’s also the issue of doing a clean removal of a Rocky specific patch to get it back to baseline.