Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Jul 2021 23:58:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 256949] [patch] passwd: remove the hardcoded local / NIS user check
Message-ID:  <bug-256949-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256949

            Bug ID: 256949
           Summary: [patch] passwd: remove the hardcoded local / NIS user
                    check
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: yuuta@yuuta.moe

I posted the patch on GitHub: https://github.com/freebsd/freebsd-src/pull/4=
99

This is my first time contributing to FreeBSD. If I did anything inappropri=
ate,
feel free to let me know and I will improve the next time.

The following is same as the PR message:

This check was first introduced as the process of PAMify passwd back in 2002
(see 5f0ae68). However, passwd already used pam for password modification a=
nd
thus the password change process should be handled by specific pam modules.
Therefore, the check to make passwd only available to local or NIS users is
nonsense.

On my systems, passwd works perfectly to change users' LDAP passwords using
nss-pam-ldapd or their Kerberos passwords using pam-krb5 in the ports after
removing this check, so I believe it has nothing to do with passwd.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-256949-227>