yppasswd fails

yppasswd fails

Post by Andr » Sun, 10 Feb 2002 01:07:23


yppasswd (on nis server) fails with
"unknown error
yppasswd: unknown user <user> (userid=<id>)"

(<user> is the user I call yppasswd as - so obviously I am able to

before it worked for some time.
my setup:

two rh 7.2 machines, one as nis server (ypserv, yppasswdd, ypbind).
the other as client (ypbind).
shadow and MD5 enabled.

"ypcat passwd" shows all users just fine, logins are possible as
if I do a "make" in /var/yp everything is updated ok - including

but users should be able to change passwords themselves - yet yppasswd
fails with the above message

using yppasswd from the client machine seemingly works at first
(success message) but effectively the password is not changed.
there are no messages in any of the log files.

any ideas? any debugging options available?

-- andrej


1. NIS help: yppasswd fails.....

Using the Solaris 2.4 name services transition kit
when I have users trying to change their nis password
(using yppasswd0 you get something resembling the following:

server# yppasswd skelly
Old yp password:
New password:
Retype new password:
yppasswd: Could not create client
: RPC: Program not registered

any idea what's missing / badly setup?

also i know that Solaris 2.5.1 comes with NIS+, but does it also
come with a NIS (yp) server? (we dont need all the functionality of

If it does come with one...anyone know what I need to do to install it
from the CD?



System Administrator
Schlumberger  (Geoquest)      Tel   : +61 8 9360 4870
Perth, Western Australia      Fax   : +61 8 9322 3080

2. 2.1.x kernel CPU misidentification problem

3. BSM on 4.1.3 - rpc.yppasswd fails

4. HP JetDiret Cards, HP6mp Laser Jet Printers, & Redhat6.1 +

5. yppasswd fails on AIX 4.3.2

6. question about QT 1.44

7. Kernel 2.1.x fails to compile... and fails... and fails...

8. add returntypes to two funxtions in isapnp.h

9. redirecting stdin with yppasswd

10. passwd -> yppasswd

11. yppasswd

12. yppasswd and md5

13. yppasswd with NIS