LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 08-11-2002, 09:52 PM   #1
LinuxHaven
Member
 
Registered: Jul 2002
Posts: 35

Rep: Reputation: 15
hosts.deny and other files are restored when I don't want them to be


I'm using Mandrake 8.2, and I'm beginning to regret it's "ease of use" because what changes I make to the system, Mandrake undoes for me. For instance, I change the /etc/hosts.deny file to allow all connections but Mandrake changes it back for me, allowing only localhost to utilize the net servers. Also, if I change the value from 1 to 0 in the file /proc/sys/net/ipv4/icmp_echo_ignore_all, after every reboot Mandrake annoyingly changes it back to 1 for me so I can't ping it to see if things for working. How do I tell Mandrake to stop this nonsense?
 
Old 08-12-2002, 09:32 PM   #2
crabboy
Moderator
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,823

Rep: Reputation: 120Reputation: 120
Anything that you change under the /proc filesystem will get changed on every reboot. The files under /proc are not "real" files, but just a "view" into the kernel settings. I am not a Red Hat user, but from what I see you can edit a file called /etc/sysctl.conf and make your settings stick. A RH user can verify this.
 
Old 08-13-2002, 12:46 AM   #3
LinuxHaven
Member
 
Registered: Jul 2002
Posts: 35

Original Poster
Rep: Reputation: 15
Some firewall and kernel settings are indeed in /etc/sysctl.conf. (I have Redhat installed on two systems at work.) I shall take a look at the file on my Mandrake box when I get home this weekend. Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
hosts.allow & hosts.deny question... jonc Linux - Security 9 03-05-2005 10:41 PM
Adding shell commands to hosts.deny and hosts.allow ridertech Linux - Security 3 12-29-2003 04:52 PM
hosts.deny help/how-to jon_k Linux - Software 1 07-25-2003 11:17 PM
hosts.deny and hosts.allow defaults? gui10 Linux - Security 5 12-20-2001 02:57 AM
How to use hosts -.allow and -.deny? dragonflyer Linux - Newbie 2 05-28-2001 09:05 PM


All times are GMT -5. The time now is 01:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration