Szerintem(!) a PHP scripted azt írja át amihez joga van.
Pontosabban amihez a scriptet futtató usernek joga van.
Ebből kifolyóan én tisztán php-ban oldanám meg.
<?php echo exec('echo 1 > /proc/net/nf_condition/valmifajl'); ?>
--------------
“If there were no hell, we would be like the animals. No hell, no dignity.”