Quote:
Originally Posted by TatforTit
Ok, but when I go to a certain folder and try to open a config file for example, when I enter the sudo command in that directory and point it towards that file, I get a prompt saying no such command or command not recognized. Is there no way to actually enter locked folders from within KDE without having to log-out and re-enter as root? I want to open a root only text file in KDE without having to actually log-in to KDE as root to begin a session. Is this possible?
|
Open a terminal on your desktop and at the prompt type: su
enter the root password
now you're logged in as root in that session.
cd to the directory you wish to work on a file
type in: kate <filename> to edit that file
when you've finished and saved the file and closed down kate (or whatever editor you prefer to use) .. then type: exit to leave the session as root and then type: exit to close the terminal window.
Cheers.