David Bear wrote:

was just trying to determine the maximum string length of a group
name.

found struct group {
char *gr_name; /* group name */


but no size.

any pointers (with limits)?

Hmm, I had a browse through the kernel source for a while but didn't find anything definite. What I do know is that you should endeavour to keep the length no greater than 8. Up to 15 is probably ok as well on modern kernels, and group names longer than 15 is getting a bit silly.


Sorry no to have anything more precise.

David

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to