| Summary: | [nis] rpc.yppasswdd incorrectly throws errors about invalid shells with -s | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | Russell Cloran <russell> | ||||
| Component: | bin | Assignee: | Marcelo Araujo <araujo> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | CC: | araujo, sysadmin | ||||
| Priority: | Normal | ||||||
| Version: | 5.1-RELEASE | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
Russell Cloran
2004-05-24 23:20:16 UTC
Committed revision 288482. Thank you for the patch. A commit references this bug: Author: araujo Date: Fri Oct 2 08:58:51 UTC 2015 New revision: 288482 URL: https://svnweb.freebsd.org/changeset/base/288482 Log: The rpc.yppasswdd has an option to not allow shell changes (-s), but is always passed a shell by the remote yppasswd. If an NIS client overrides the shell provided by the ypserv, then yppasswd (pam_unix, actually, afaict) will pass this new shell to the yppasswdd. If this shell has been set on the client to a shell which is invalid on the server, a user will never be able to change their password on the client. PR: 67142 Submitted by: russell@rucus.ru.ac.za Approved by: bapt (mentor) Sponsored by: EuroBSDCon Sweden. Changes: head/usr.sbin/rpc.yppasswdd/yppasswdd_server.c |