Brian Somers 15344a5690 Verify that the username length is smaller than MAXLOGNAME when
asked to verify a passwd file (pwd_mkdb -C).

Entries with oversized usernames are still permitted when building
the passwd database.

When entries are >= MAXLOGNAME in length, they are correctly stored
in passwd, pwd.db and spwd.db but are only correctly retrieved by
getpwent*() and getpwuid*().  getpwnam*() truncates to MAXLOGNAME - 1
when reading from a file (breaking at least sh, tcsh and bash)
and utilities such as su(1) check, complain and fail if the
passed name is >= MAXLOGNAME in length.

MFC after:	3 weeks
2009-05-20 08:32:25 +00:00
..
2009-04-28 20:23:58 +00:00
2009-05-17 05:54:25 +00:00
2009-04-01 08:33:54 +00:00
2008-12-01 17:39:34 +00:00
2009-01-31 07:03:36 +00:00
2009-02-15 03:21:37 +00:00
2009-03-19 20:24:30 +00:00
2009-04-04 15:48:09 +00:00
2009-05-06 20:07:28 +00:00
2009-01-30 15:28:56 +00:00
2009-04-04 16:03:28 +00:00
2009-04-28 20:20:13 +00:00
2009-01-06 14:23:38 +00:00
2008-12-24 09:17:30 +00:00
2009-02-11 16:28:49 +00:00
2009-04-08 06:51:58 +00:00
2008-12-29 14:59:22 +00:00
2009-03-15 01:39:16 +00:00