iptables on warty
Christoph Georgi
christoph.georgi at web.de
Mon Mar 7 07:38:14 UTC 2005
Got it.. Thanks
.christoph
Jim Cheetham wrote:
> On Mar 7, 2005, at 7:22 PM, Christoph Georgi wrote:
>
>> Jim Cheetham wrote:
>> | identical, too - although I would prefer to see the original script
>> | in /etc/init.d rather than elsewhere.
>> It seems that you need to have the permissions set to 0777 in the init.d
>> folder which makes the firewall script vulnerable as anyone can rewrite
>> it?! Or do I miss something?
>>
> Yep - create the file as the root user :-) not as a normal user.
>
> $ sudo vi /etc/init.d/myiptables
>
> and then link it into rc2.d with
>
> $ sudo ln -s /etc/init.d/myiptables /etc/rc2.d/S20myiptables
>
> -jim
>
>
--
Christoph Georgi
-----------------------------
email. christoph.georgi at web.de
fon. +64 (0)21 049 8030
registered linux user #380268
ubuntulinux 4.10 (warty)
More information about the ubuntu-users
mailing list