security.jail.param.allow.socket_af=1

Adam Vande More amvandemore at gmail.com
Sun Feb 16 23:37:19 UTC 2014


On Sun, Feb 16, 2014 at 5:15 PM, Frank Wißmann <frank.wissmann41 at web.de>wrote:

> On 16.02.2014 22:15, alexus wrote:
>
>> I'm trying to change following and for whatever reason it won't allow me
>> to
>> do so:
>>
>> root at fx:~ # sysctl security.jail.param.allow.socket_af=1
>> security.jail.param.allow.socket_af: 0 ->  0
>> root at fx:~ #
>>
>> any ideas?
>> Thanks!
>> _______________________________________________
>> freebsd-questions at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "freebsd-questions-
>> unsubscribe at freebsd.org"
>>
>>
> Hi!
> To change sysctls you have to place it in /etc/sysctl.conf.


This is completely incorrect.


> The manpages of sysctl and sysctl.conf will give you more hints about the
> syntax. Then you need to reboot your system to take the changes effect.
>

Or you could just issue a /etc/rc.d/sysctl restart

Greetings
>
> Frank
>
>
Regarding security.jail.param.allow.socket_af some sysctl's are only
settable at boot time.  Try putting security.jail.param.allow.socket_af=1
in /boot/loader.conf and rebooting to see what happens.

-- 
Adam


More information about the freebsd-questions mailing list