I am trying to use NIS for authentication on one of the machines. I had to change one of the user IDs for the user account on the NIS server (I changed the user ID for username500 to 509 to avoid a conflict with the local user account with ID 500 on the clients). The problem is that it did not update properly on the client.
In particular, if I do ypcat passwd | grep username, I get updated information:
username:*hidden*:509:509:User Name:/home/username:/bin/bash
But if so ypmatch username passwd, he says:
username:*hidden*:500:500:User Name:/home/username:/bin/bash
This means that when a user registers with one of the clients, he has the wrong user ID, which causes all kinds of problems. I did "cd /var/yp; make"on the server and "service ypbind restart"on the client, but this did not fix the problem. Does anyone know what will be the cause of this, and how can I somehow force the update on the client? (I am running Fedora 8 on both the client and server).
source
share