]> git.cameronkatri.com Git - pw-darwin.git/commit
Allow the "@" and "!" characters in passwd file GECOS fields.
authorDavid Bright <dab@FreeBSD.org>
Thu, 1 Mar 2018 17:47:28 +0000 (17:47 +0000)
committerDavid Bright <dab@FreeBSD.org>
Thu, 1 Mar 2018 17:47:28 +0000 (17:47 +0000)
commite03fe59f20d9945dbf5c12d723679e5648fb27fa
tree386b039e9d30372a134bb6435af95a9d528d8af8
parentb8da381ca79c1e3846c7241b818e57212f0ae21f
Allow the "@" and "!" characters in passwd file GECOS fields.

Two PRs (152084 & 210187) request allowing the "@" and/or "!"
characters in the passwd file GECOS field. The man page for pw does
not mention that those characters are disallowed, Linux supports those
characters in this field, and the "@" character in particular would be
useful for storing email addresses in that field.

PR: 152084, 210187
Submitted by: jschauma@netmeister.org, Dave Cottlehuber <dch@freebsd.org>
Reported by: jschauma@netmeister.org, Dave Cottlehuber <dch@freebsd.org>
Reviewed by: delphij (secteam), vangyzen
MFC after: 1 week
Sponsored by: Dell EMC
Differential Revision: https://reviews.freebsd.org/D14519
pw/pw_user.c