]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r330245:
authordab <dab@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 9 Mar 2018 14:45:47 +0000 (14:45 +0000)
committerdab <dab@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 9 Mar 2018 14:45:47 +0000 (14:45 +0000)
commit9866bbdaf9e431c1a7c552a08b3632e6290cd12d
tree3542dd826c3a5fbdda23a00725c698b5ef32b97f
parent76cdccb19eee88c95390970499f51e6daac5459c
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

git-svn-id: svn://svn.freebsd.org/base/stable/10@330695 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/pw/pw_user.c
usr.sbin/pw/tests/pw_useradd_test.sh