bin/97083: passwd does not support _PWF_HESIOD
Danny Braniss
danny at cs.huji.ac.il
Wed May 10 11:00:34 UTC 2006
>Number: 97083
>Category: bin
>Synopsis: passwd does not support _PWF_HESIOD
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed May 10 11:00:29 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Danny Braniss
>Release: FreeBSD 6.1-STABLE amd64
>Organization:
>Environment:
System: FreeBSD bsd 6.1-STABLE FreeBSD 6.1-STABLE #0: Tue May 9 10:09:06 IDT 2006 danny at bsd:/r+d/obj/bsd/r+d/6.1/src/sys/HUJI amd64
>Description:
since the actual password update is done via the pam
modules, I see no harm in adding support for HESIOD
>How-To-Repeat:
>Fix:
patch attached:
--- passwd.c.orig Sat Apr 19 00:27:09 2003
+++ passwd.c Wed May 10 13:42:40 2006
@@ -119,10 +119,14 @@
fprintf(stderr, "Changing NIS password for %s\n",
pwd->pw_name);
break;
+ case _PWF_HESIOD:
+ fprintf(stderr, "Changing HESIOD password for %s\n",
+ pwd->pw_name);
+ break;
default:
/* XXX: Green men ought to be supported via PAM. */
errx(1,
- "Sorry, `passwd' can only change passwords for local or NIS users.");
+ "Sorry, `passwd' can only change passwords for local, NIS, or HESIOD users.");
}
#define pam_check(func) do { \
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list