write a file to etc folder

NoOp glgxg at sbcglobal.net
Tue Nov 3 02:24:21 UTC 2009

On 11/02/2009 05:18 PM, John Scott wrote:
> And it should definitely be said that absolutely NOTHING in the /etc
> folder should EVER be modified without a backup copy to fall back on.
> Especially if you wouldn't know how to use vi after booting to a
> command prompt to edit the file manually.
> Regards,
> John

Please bottom post here :-)

The good bit about using 'gksu gedit <file>' and or the nautilus admin
right-click option is that gedit will automatically create a <~file>
backup file. So, if for instance you edit /etc/apt/sources.list via
those methods, you will have a /etc/apt/~sources.list file as a backup.

Regarding 'gksu nautilus'; that command puts nautilus in a 'gksu' mode
whereby you can easily delete, modify, rename, etc., just about any file
on your File System. Hence the warning that that is a a useful
tool/command for experienced users, but shouldn't be used for new users
who may not understand the implications & power of the tool.

But I very much agree that you shouldn't modify anything in the File
System/root etc., without first creating a backup first & that's good

More information about the ubuntu-users mailing list