First, you must mount the filesystem writeable, for example:
Second, you must edit the file as root, for example type this in konsole:Code:sudo mount /mnt/hdb1 -o remount,rw
probonoCode:sudo mcedit /mnt/hdb1/etc/somefile
Hi,
I've just installed RedHat9, but I'm having some problems with X config. I'm trying to use knoppix to edit the file (on /mnt/hdb1), but obviously I can't write to the file as I don't have the correct permissions since it's a different linux installation.
How can I gain permission to write to the file? Is there someway I can 'login' to the filesystem on hdb1?
Many thanks,
Matt
First, you must mount the filesystem writeable, for example:
Second, you must edit the file as root, for example type this in konsole:Code:sudo mount /mnt/hdb1 -o remount,rw
probonoCode:sudo mcedit /mnt/hdb1/etc/somefile
Thank you!
Matt
AMD EPYC 7282 CPU Processor 16 Cores 32 Threads 2.8GHZ up to 3.2GHZ 120W no lock
$75.00
Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...
$419.99
Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1
$39.99
Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...
$619.99
Intel Xeon E5-2697 V2 Processor (2.7 GHz,12 Cores, Socket LGA 2011)
$26.99
Intel Quad Core i3-12100 3.3GHz 12MB LGA1700 12th Gen. CPU Processor SRL62
$46.03
AMD Ryzen 5 4500 6-Core 3.6GHz Socket AM4 65W CPU Desktop Processor
$79.00
Intel Core i9-13900KF Unlocked Desktop Processor - 24 Cores (8P+16E) & 32 Thread
$539.99
Intel Core i7-3770 3.40GHz 8MB Quad Core Socket LGA1155 CPU Processor SR0PK
$35.00
Intel 16 Core i7-13700T DESKTOP processor TURBO Boost 4.90Ghz CM8071504820903
$269.00