7.6. Shadow
Passwords with NIS
Shadow passwords over NIS are always a bad idea. You loose the
security, which shadow gives you, and it is supported by only some
few Linux C Libraries. A good way to avoid shadow passwords over
NIS is, to put only the local system users in /etc/shadow. Remove
the NIS user entries from the shadow database, and put the password
back in passwd. So you can use shadow for the root login, and
normal passwd for NIS user. This has the advantage that it will
work with every NIS client.