Re: max group name length

2004-09-24 Thread David Landgren
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]


Re: max group name length

2003-06-26 Thread David Landgren
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]


max group name length

2003-06-25 Thread David Bear
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)?
-- 
David Bear
phone:  480-965-8257
fax:480-965-9189
College of Public Programs/ASU
Wilson Hall 232
Tempe, AZ 85287-0803
 Beware the IP portfolio, everyone will be suspect of trespassing
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]