I checked the link that Philip gave and the patch at the beginning
worked for 14.04 when I recompiled the nis package from source. My users
can finally change their passwords! The patch is

--- nis-3.17.orig/yp-tools-2.9/src/yppasswd.c   2013-09-03 12:08:35.000000000 
-0400
+++ ./yppasswd.c        2013-09-03 12:07:30.000000000 -0400
@@ -406,7 +406,7 @@
       return 0;
     }
 
-  if (pwd->pw_passwd[0]
+  if (pwd->pw_passwd[0] && pwd->pw_passwd[1]
       && !strncmp (pwd->pw_passwd, crypt (pwdstr, pwd->pw_passwd), 13)
       && uid)
     {


Can this be added to the Trusty release?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1204530

Title:
  yppasswd results in a segmentation fault when run on clients or server

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nis/+bug/1204530/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to