How to change kernel parameter.
Hi i m using following kernal.
Code:
# uname -r Code:
net.ipv4.conf.all.accept_source_route must be set to "0" |
See this file
/etc/sysctl.conf |
Changes to the kernel parameters can be done with the sysctl command. First check what the current vallue is
Code:
gerrard@orion:~/downloads/tmp$ sysctl net.ipv4.conf.all.accept_source_route otherwise you can change it with: Code:
gerrard@orion:~$ sysctl net.ipv4.conf.all.accept_source_route=0 _________________________ Gerrard |
Quote:
and add the lines with its values,then run Quote:
|
Quote:
Also i m getting following error. Please help. Code:
# sysctl -P |
Hi its
Quote:
|
Oh, sorry I have written the capital P.
|
Quote:
So if you can't find it, you can just add it to the file. _______________ Gerrard |
Quote:
I m reading this security manual which is in general applicable to linux .I m not sure if it is meant for my linux distribution. Shall i add those parameters to my distributions sysctl.conf file? |
Quote:
|
All times are GMT -5. The time now is 08:28 PM. |