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 ?
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
11-02-2009, 08:02 PM
tôba rakoto
write a file to etc folder
Le Mon, 02 Nov 2009 15:56:48 -0500,
William <kc8pdr@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...
Tôba
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
11-02-2009, 08:07 PM
Kipton Moravec
write a file to etc folder
On Tue, 2009-11-03 at 00:02 +0300, tôba rakoto wrote:
> Le Mon, 02 Nov 2009 15:56:48 -0500,
> William <kc8pdr@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...
>
> Tôba
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."
--Mark Twain
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
11-02-2009, 08:07 PM
"Joep L. Blom"
write a file to etc folder
William wrote:
> 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 ?
>
>
gksudo nautilus.
Joep
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
11-02-2009, 08:19 PM
NoOp
write a file to etc folder
On 11/02/2009 01:07 PM, Kipton Moravec wrote:
...
>
> Or from the the terminal you can use
> sudo gedit <file>
Use gksu instead for graphical applications:
$ gksu gedit <file>
Or install the nautilus admin extension & you will then be able to
right-click the file from nautilus & open as 'adminstrator'.
$ sudo apt-get install nautilus-gksu
The gksu extension for nautilus allows you to open files with
administration privileges using the context menu when browsing your
files with nautilus.
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
11-02-2009, 08:21 PM
NoOp
write a file to etc folder
On 11/02/2009 01:07 PM, Joep L. Blom wrote:
> William wrote:
>> 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 ?
>>
>>
> gksudo nautilus.
> Joep
>
>
That indeed works. But I hesitate to advise doing that for what appears
to be a new linux/ubuntu user... without all the appropriate
disclaimer/warnings etc. :-)
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
11-02-2009, 08:35 PM
"Joep L. Blom"
write a file to etc folder
NoOp wrote:
> On 11/02/2009 01:07 PM, Joep L. Blom wrote:
>> William wrote:
>>> 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 ?
>>>
>>>
>> gksudo nautilus.
>> Joep
>>
>>
>
> That indeed works. But I hesitate to advise doing that for what appears
> to be a new linux/ubuntu user... without all the appropriate
> disclaimer/warnings etc. :-)
>
>
>
>
OK, I'll be a little bit more cautious!!
Joep
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
11-03-2009, 12:18 AM
John Scott
write a file to etc folder
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
-----Original Message-----
From: Joep L. Blom <jlblom@neuroweave.nl>
To: ubuntu-users@lists.ubuntu.com
Sent: Mon, Nov 2, 2009 10:35 pm
Subject: Re: write a file to etc folder
NoOp wrote:
> On 11/02/2009 01:07 PM, Joep L. Blom wrote:
>> William wrote:
>>> 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 ?
>>>
>>>
>> gksudo nautilus.
>> Joep
>>
>>
>
> That indeed works. But I hesitate to advise doing that for what appears
> to be a new linux/ubuntu user... without all the appropriate
> disclaimer/warnings etc. :-)
>
>
>
>
OK, I'll be a little bit more cautious!!
Joep
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
11-03-2009, 12:49 AM
William
write a file to etc folder
Thank you for all your help this group rock's for help I had to add a
file for my blackberry
On Mon, 2009-11-02 at 20:18 -0500, 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
>
>
>
>
>
> -----Original Message-----
> From: Joep L. Blom <jlblom@neuroweave.nl>
> To: ubuntu-users@lists.ubuntu.com
> Sent: Mon, Nov 2, 2009 10:35 pm
> Subject: Re: write a file to etc folder
>
> NoOp wrote:
>
> > On 11/02/2009 01:07 PM, Joep L. Blom wrote:
>
> >> William wrote:
>
> >>> 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 ?
>
> >>>
>
> >>>
>
> >> gksudo nautilus.
>
> >> Joep
>
> >>
>
> >>
>
> >
>
> > That indeed works. But I hesitate to advise doing that for what appears
>
> > to be a new linux/ubuntu user... without all the appropriate
>
> > disclaimer/warnings etc. :-)
>
> >
>
> >
>
> >
>
> >
>
> OK, I'll be a little bit more cautious!!
>
> Joep
>
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
11-03-2009, 01:24 AM
NoOp
write a file to etc folder
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
advise.
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users