First, you must mount the filesystem writeable, for example:

Code:
sudo mount /mnt/hdb1 -o remount,rw
Second, you must edit the file as root, for example type this in konsole:
Code:
sudo mcedit /mnt/hdb1/etc/somefile
probono