write a file to etc folder

tôba rakoto toba.rakoto at gmail.com
Mon Nov 2 21:02:03 UTC 2009

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...


More information about the ubuntu-users mailing list