How to edit /conf/base/etc/hosts.allow

Status
Not open for further replies.

RoboKaren

Contributor
Joined
Apr 8, 2014
Messages
130
So I use denyhosts to prevent my little box from being too overwhelmed by malicious spiders (CAST SPELL OF PROTECTION @ cyberjock #NASshouldNotBeOnaNetwork). I had this running well in 9.2.x by modifying my /etc/hosts.allow to point to a jailed configuration of denyhosts. To do this, of course, I have to mod /conf/base/etc/hosts.allow since the /etc/ directory gets nuked with each reboot.

I can't in my n00biness figure out how I mount the new zfs based root directory read/write

Code:
[me@mynas] /conf/base/etc% mount -rw /
mount: /: unknown special file or file system


With the caveats that modding the conf directory of a BETA version is bad stupid, how do I do this?

K
 
Last edited:
D

dlavigne

Guest
It should already be mounted and /etc/hosts.allow is writable. Usual caveats of not editing system files apply.
 

RoboKaren

Contributor
Joined
Apr 8, 2014
Messages
130
When does /etc/hosts.allow get rewritten with the contents of /conf/base/etc/hosts.allow?

Previously, it was with each reboot. Since I only reboot when I update/upgrade, I can't tell but I do know that my changes to /etc/hosts.allow have already been overwritten back to defaults.

Is there a way to mount /conf/base/etc/ read-write?
 
Status
Not open for further replies.
Top