Technical article 102427

Problems changing passwords or creating users after trying to remove NIS

OpenServer 6.0.0OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4OpenServer 5.0.5OpenServer 5.0.6OpenServer 5.0.7

Written · Last revised

Problem

I configured a system to use NIS, but I don't want to run it anymore.

Now, I can't change the password for a local user.

If I stop nis and try to change the user's password, I get these error messages:

yppasswd: can't get master for passwd file

Password request denied. Reason: Remote password change request denied.

Similar problems occur when trying to add a new user to the system.

Solution

Remove the link between /bin/yppasswd and /bin/passwd by removing /bin/yppasswd.

To prepare:
# mkdir /local
# ap -dgv > /local/users.ap
# cp /bin/yppasswd /local
then:
# rm /bin/yppassd

You should now be able to change the passwords for local users.

From the Xinuos technical article database, record 102427. Reproduced with permission. The original is at www.sco.com/ta/102427, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.