I’m trying to use NIS on Rocky Linux 8.4. I’ve successfully ypbind, but I still cannot login my account with NIS unless I add these two things:
- Add this line in /etc/passwd
- Add this line in /etc/shadow
<my_pwd> is the encrypted password string getting from yptest | grep <my_account>
Once I have changed my passwd, I will have to modify these two things. It is not convenient.
Has anyone encountered this problem before?