Length of User names

Rich Salz rsalz at bbn.com
Thu Jun 6 00:55:55 AEST 1991


In article <1991Jun1.194721.25383 at thunder.mcrcim.mcgill.edu> mouse at thunder.mcrcim.mcgill.edu (der Mouse) writes:
>and was informed that you just need to change a couple of include files
>(<utmp.h> comes to mind) and recompile everything.

In <16322 at smoke.brl.mil> gwyn at smoke.brl.mil (Doug Gwyn) writes:
> consider
>those applications that attempt to get usernames and provide only 8+1
>characters of storage for them
Such programs are fairly badly written since the header file has
warned about using "8" for some time and you can safely get the maximum
allowable size by using sizeof.
	/r$
-- 
Please send comp.sources.unix-related mail to rsalz at uunet.uu.net.
Use a domain-based address or give alternate paths, or you may lose out.



More information about the Comp.unix.wizards mailing list