Date: Wed, 10 May 2006 13:52:50 +0300 From: Danny Braniss <danny@cs.huji.ac.il> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/97083: passwd does not support _PWF_HESIOD Message-ID: <E1FdmJG-00020v-5O@bsd.cs.huji.ac.il> Resent-Message-ID: <200605101100.k4AB0UhZ028036@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1FdmJG-00020v-5O>