Page 1 of 1
[SOLVED] Edit as Root

Posted:
Dec 30th, '11, 16:42
by primesuspect
Please can someone tell me how I can edit a text file as Root?
Thank you
Re: Edit as Root

Posted:
Dec 30th, '11, 16:56
by calvert
open a terminal and su to root,
then
kwrite /path/to/file
or
user the root terminal in mcc and kwrite again
Re: Edit as Root

Posted:
Dec 30th, '11, 17:23
by wobo
calvert wrote:open a terminal and su to root,
then
kwrite /path/to/file
That will not work if you forget to add a dash, like
- Code: Select all
su -
Re: Edit as Root

Posted:
Dec 30th, '11, 17:31
by primesuspect
Many thanks - sorted

Re: [SOLVED] Edit as Root

Posted:
Dec 30th, '11, 23:56
by willie
If you want by right-click yhe file in dolphin (if you use KDE) look in MCC/software for kde-rootactions-servicemenu