bin/43582: passwd(1) fails on nonexistent users
Dan Pelleg
daniel at pelleg.org
Sun Jul 13 04:10:39 PDT 2003
Here is the base-64 decoding of it. Since submitting this I lost the
ability to easily trigger the condition or test the patch. It also seems
the patch is reversed.
--- usr.bin/passwd/passwd.c Sat Oct 19 19:42:45 2002
+++ usr.bin/passwd/passwd.c.orig Sat Oct 19 19:02:49 2002
@@ -220,13 +220,6 @@
fprintf(stderr, "realm %s\n", realm);
exit(krb_passwd(argv[0], iflag, rflag, uflag));
}
-#ifdef YP
- /*
- * As we fall back to local_passwd, we need to make sure that
- * the local_password struct is initialized.
- */
- use_yp(uname, 0, 0);
-#endif
#endif
}
exit(local_passwd(uname));
More information about the freebsd-bugs
mailing list