is your kern.securelevel set to 1 or 2? Ed.
On Tue, 18 Mar 2003 11:10:06 -0500 (EST) "Brian Szymanski" <[EMAIL PROTECTED]> wrote: > Hi, > > I'm having some trouble setting the (read-only) sysctl value kern.ngroups. > athlon system, running 4.x-stable. The reason I need to modify this value > is for some software that requires user www to be in a lot of different > groups, and the default value of 16 is insufficient. > > As per handbook section 6.9.1 "sysctl(8) read only", I've tried to modify > the value by adding the line kern.ngroups="256" in > /boot/loader.conf.local. When this boots up, I do a manual sysctl > kern.ngroups, and it tells me 16 still... So I tried throwing the value > straight in to /boot/defeaults/loader.conf... When I boot up, kern.ngroups > is still at 16. I even tried editing /usr/src/sys/sys/syslimits.h and > setting kern.ngroups to be 256 in the source. However, this results in > some sort of bug in the kernel - when I reboot to a kernel compiled in > this way, my machine dies trying to mount_msdos. I'm assuming that this is > a sign of bad things happening in the kernel. I didn't actually try to > boot further with this kernel. > > So, the question of the day is, what is the best way to set kern.ngroups? > And, is 256 for some reason a "bad" value to set it to? If so, what value > should I choose? I've also tried 128 with no success, and am working my > way down to 16, but I'm not sure if I trust the kernel that I might get by > compiling in such a way... > > Any help would be greatly appreciated. Thanks for reading, > Brian Szymanski > [EMAIL PROTECTED] > > > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-stable" in the body of the message -- Edmond Baroud UNIX Systems Admin mailto:[EMAIL PROTECTED] Fingerprint 140F 5FD5 3FDD 45D9 226D 9602 8C3D EAFB 4E19 BEF9 "UNIX is very user friendly, it's just picky about who its friends are." To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message