Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: changing /etc/hosts.allow, write-only filesystem< Next Oldest | Next Newest >
marlas Offline





Group: Members
Posts: 4
Joined: Dec. 2005
Posted: Dec. 30 2005,12:24 QUOTE

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
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Dec. 30 2005,14:57 QUOTE

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


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
marlas Offline





Group: Members
Posts: 4
Joined: Dec. 2005
Posted: Dec. 30 2005,16:55 QUOTE

thanks, that helped a lot...
Back to top
Profile PM 
2 replies since Dec. 30 2005,12:24 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: changing /etc/hosts.allow

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code