changing /etc/hosts.allow


Forum: HD Install
Topic: changing /etc/hosts.allow
started by: marlas

Posted by marlas on Dec. 30 2005,12:24
hi there,

i've made a frugal install to a cf-card on a pc104-system.
it runs pretty good but now i have some problems in customizing it.
i have to make some changes in the config-files located in /etc.
how can i save this when the file-system is ro? mounting /cdrom as rw didn't help.

thanks for help
marla

Posted by mikshaw on Dec. 30 2005,14:57
The /etc directory is not read-only in frugal. Many of the files in /etc are symlinks to /KNOPPIX/etc, which is read-only.  If the file you are trying to edit is a symlink, replace the symlink with a copy of the original file from /KNOPPIX/etc

To check if a file is a symlink, use the command
Code Sample
file  /etc/hosts.allow

To see what file a link points to, use
Code Sample
ls -l  /etc/hosts.allow

Posted by marlas on Dec. 30 2005,16:55
thanks, that helped a lot...
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.