On Wed, 25 Jul 2001, R. Hamburg wrote:
>
> So let's say I name the file servercommands
> the in rc.local I call them by entering
>
> ./etc/servercommands
^^ not sure if works with the dot. should work. i do without.
> Then IN the file servercommands I add the following lines:
>
> /sbin/ipchains -I input -s 203.232.240.215 -j DENY -l
> /sbin/ipchains -I input -s 63.25.226.171 -j DENY -l
>
> and so on.....
>
> Am I correct doing it this way ?
>
> TIA
> - Robbert
>
once the file exists, you need to once do:
chmod 700 /etc/servercommands
and then every time u have command to add, you just edit that file with
pico and add a line...
enjoy!
- shimi.
_______________________________________________
cobalt-security mailing list
[EMAIL PROTECTED]
http://list.cobalt.com/mailman/listinfo/cobalt-security