write a file to etc folder
kip at kdream.com
Mon Nov 2 21:07:11 UTC 2009
On Tue, 2009-11-03 at 00:02 +0300, tôba rakoto wrote:
> Le Mon, 02 Nov 2009 15:56:48 -0500,
> William <kc8pdr at gmail.com> a écrit :
> > I used gedit to back a file and I need to the etc folder but it says I
> > need root access how can I get it to save it ?
> As said, you have to get root access... (write)access in /etc is not
> permitted for simple user.
> Get root access by sudo, copy the file in your home folder, edit the
> file, get root priv again, copy it back to etc
> You may also use another text based editor (vim, emacs...). Get root
> access and edit the file directly...
Or from the the terminal you can use
sudo gedit <file>
Then save it where you want.
Kipton Moravec AE5IB .- . ..... .. -...
"Always do right; this will gratify some people and astonish the rest."
More information about the ubuntu-users