When I try logging to a NIS client as an user directly, it says ‘Permission denied, please try again.’ Switching to the user from root works fine.
/etc/ssh/sshd_config , /etc/yp.conf & /etc/nsswitch.conf looks fine. However, I don’t see ‘nis’ as one of the profiles in authselect. By default, it was selected ‘sssd’ and even after removing the existing profile (sssd) from authselect, I still see the same error.
Anyone came across any similar issue with NIS on Rocky Linux 9 ?
Usually nis references would be found in /etc/nsswitch.conf so that could be one thing to look at. I don’t use nis and never have, so cannot help any more than that really. But the fact it’s not supported means it’s only going to get worse for EL10 and later distros in the fact that it’s more unlikely to work.
In reality, rather than attempting to work at getting something old working, would be to work with the substitute - in this case freeipa. Because sooner or later you’ll move to Rocky 10 or whatever, and it’ll not work at all. Better to spend the time migrating now
One could alternatively (or additionally) deploy local config to the managed systems with some configuration management system. That obviously does not suite for everything (that freeipa/NIS is/was responsible for).