Hi All,
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
====
<my_account>:x:1736:1501:<my_account_name>:/home/<my_account>:/bin/bash
==== - Add this line in /etc/shadow
====
<my_account>:<my_pwd>::0:99999:7:::
====
<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?
Thanks