]> git.cameronkatri.com Git - pw-darwin.git/blobdiff - pw/pw_user.c
Make pw_scan(3) more compatible with getpwent(3) et. al. when processing
[pw-darwin.git] / pw / pw_user.c
index 62a1613322db9a6f17878eb4612733658a1285d7..148239ebd2b5f8a9e48af738b6bf34125cf60482 100644 (file)
@@ -632,7 +632,7 @@ pw_checkname(char *name, int gecos)
        reject = 0;
        if (gecos) {
                /* See if the name is valid as a gecos (comment) field. */
-               badchars = ":!@";
+               badchars = ":";
                showtype = "gecos field";
        } else {
                /* See if the name is valid as a userid or group. */