Editing 'google.xml'
Hi,
I have been trying Fedora using a live CD - or, rather, a live USB memory stick. I am doing it that way so as to get to know it and make changes before possibly installing it on my hard disc I have been trying to edit a file called 'google.xml' which is a search plugin that is used by Firefox. However, when I try and save my editing I get a message saying that I don't have permissions. I tried opening a terminal and typing 'sudo'gedit' but immediately got a message saying 'fedora@localhost' followed by 'fedora is not in the sudoers file'. Then I tried unsuccessfully to create an account with me as the Administrator but couldn't see how to do that Would some kind person explain how to create an account with me as the administrator so that I can use 'sudo' or how to edit the .xml file and save the changes. I understood that the reason for using a USB memory stick to boot into Fedora was so that one could make such changes as the default language and keyboard as well as other changes. Many thanks in advance Chris |
Can't you use the su command then edit the file with nano?
|
First, add yourself to the "wheel" group. This is the group that is allowed to use sudo.
Then run "visudo" and uncomment the line that allows members of the wheel group to run commands as root. The line is near the bottom of the file. Fedora is set up so that you enter your own password when using sudo. Also check the permissions of the directory that holds this file, and check how the partition is mounted. ls -ld <directory> and mount Make sure that the partition isn't mounted read-only. Who owns the file. You didn't give the full pathname to the file. A live distro may have you operate as root. If so, then install first and make your changes for a normal user. You don't want to routinely run as root after installing. |
Hi jschiwal, thank you for your help. I have done what you said and all is well now
|
All times are GMT -5. The time now is 08:00 AM. |