View | Details | Raw Unified | Return to bug 271427
Collapse All | Expand All

(-)b/usr.sbin/pw/pw_user.c (-1 / +1 lines)
Lines 635-641 Link Here
635
		showtype = "gecos field";
635
		showtype = "gecos field";
636
	} else {
636
	} else {
637
		/* See if the name is valid as a userid or group. */
637
		/* See if the name is valid as a userid or group. */
638
		badchars = " ,\t:+&#%$^()!@~*?<>=|\\/\"";
638
		badchars = " ,\t:+&#%$^()!@~*?<>=|\\/\";";
639
		showtype = "userid/group name";
639
		showtype = "userid/group name";
640
		/* Userids and groups can not have a leading '-'. */
640
		/* Userids and groups can not have a leading '-'. */
641
		if (*ch == '-')
641
		if (*ch == '-')

Return to bug 271427