Quote:
Originally Posted by Deelk
When I try to login as root from the login menu...
|
If I understand correctly, you're trying to log in using your GUI environment as root. Because you can hose things up real bad
as root, typically you're prohibited from being root except in a terminal.
To edit a file, open a terminal and do what camorri told you to do:
Type su <ENTER>
When prompted for a password, enter the root password.
You'll see a prompt similar to [root@localdomain]$. You are now root. Before you edit any config files, make a copy. Go
here if you don't know how to use the cp command. Depending on what you're editting, backup your system. Go
here to read about one command you could use to back things up.
After you make a copy of the config file (and optionally backup your system), you can edit the original using vi, vim, gedit, or whatever text editor is available in the terminal environment. Once you are done, type exit and you will no longer be root.