From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.2-2 i686)
Description of problem:
If you have a local account defined in /etc/passwd it is ignored in favour
of the NIS account. This is a change from previous behaviour and
contradicts /etc/nsswitch.conf which has:
passwd: files nis
You can get it to work as before by changing /etc/nsswitch.conf to:
passwd: files compat
and adding +::0:0::: to the end of /etc/passwd.
Steps to Reproduce:
1. stop ypbind
2. create a local account for a user in the NIS passwd database
3. start ypbind
4. login as that user or try to change the password.
Actual Results: You will be logged in with the password and account
details of the NIS user rather than the locally defined user . If you try
to change the password it will want to change it on the NIS server rather
Expected Results: The local account should take priority over NIS as
specified in /etc/nsswitch.conf (or at least that was the previous
This change is not documented anywhere as far as I can tell.
I did some quick testing yesterday after a report from a remote site but the
information I had was wrong and I came to wrong conclusion. This is not a
problem with ypbind but with passwd. Please ignore this bug report. I'll
register as a bug with passwd.