]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r330245:
authordab <dab@FreeBSD.org>
Fri, 9 Mar 2018 14:45:17 +0000 (14:45 +0000)
committerdab <dab@FreeBSD.org>
Fri, 9 Mar 2018 14:45:17 +0000 (14:45 +0000)
commit91493db1efa7939891d8570db24304c4f21bdb0e
treea69663920deb3b3f8479cae56175a596fddc0db8
parentf15266a5e831a2e9cccc0724d388daa78010df76
MFC r330245:

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>
Sponsored by: Dell EMC
usr.sbin/pw/pw_user.c
usr.sbin/pw/tests/pw_useradd_test.sh