HomeFreeBSD

pw_checkname since the beginning if too strict on GECOS field,

Description

pw_checkname since the beginning if too strict on GECOS field,
relax it a bit so gecos can be used to store multibytes data.

This was unseen before FreeBSD 10.2 as this validation function was motly unused
since FreeBSD 10.2 the usage of this function has been generalized to improve
validation.

Reported by: des
MFC after: 1 week

Details

Provenance
baptAuthored on
Parents
rS291657: Fix handling of numeric-only names with pw lock
Branches
Unknown
Tags
Unknown