Syslog username length
Todd C. Miller
Todd.Miller at courtesan.com
Thu Oct 23 20:33:15 EDT 2003
In message <886FDDC53963EB42AB925FC8F2AE115102E6ADE9 at ccc2kxch01.ceco.com>
so spake (donald.ritchey):
> In many UNIX versions, the maximum length of a user name is limited to eight
> characters. This constant reflects that limit. On many newer versions of
> UNIX (Linux comes to mind) this limit is no longer in effect. There may be
> an operating system constant that holds the local limit, but I am not sure
> that it is consistent across all versions.
Exactly. Sudo should probably try to figure out the max username
based on the size of ut_name/ut_user in struct utmp.
- todd
More information about the sudo-users
mailing list