For When You Can't Have The Real Thing
[ start | index | login ]
start > Sun > yppasswd: permission denied

yppasswd: permission denied

Created by dave. Last edited by dave, 16 years and 218 days ago. Viewed 6,802 times. #2
[diff] [history] [edit] [rdf]


Something like

# ypcat passwd | grep someuser
someuser::301:500:Some User:/home/someuser:/bin/tcsh
# yppasswd user
New Password:
Re-enter new Password:
Permission denied
You might also find something like this in the debug log:
Jul 23 08:45:06 nismaster yppasswdd[162]: [ID 467562 auth.error] yppasswdd: user someuser: does not exist


You match the following conditions:

  • you run your NIS out of a non-standard directory (ie not /var/yp) and have a custom /var/yp/Makefile which fixes NIS to this effect; and
  • you have recently run some Solaris patches, probably a Recommended or Recommended+Security patch set.
One of the patches helpfully "fixed" your non-standard /var/yp/Makefile back to the default. Un-fix this and restart yp, and you should be back in business.


According to this post >> Sun has been doing this since at least the year 2000 and OS rev Solaris 7.

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful: | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt