Editing configuration files
Doug
dmcgarrett at optonline.net
Sun Dec 2 03:37:27 UTC 2018
On 12/01/2018 05:24 PM, Kim Briggs wrote:
> On Fri, Nov 23, 2018 at 6:42 PM Colin Law <clanlaw at gmail.com
> <mailto:clanlaw at gmail.com>> wrote:
>
>
>
> On Fri, 23 Nov 2018, 18:35 Bret Busby <bret.busby at gmail.com
> <mailto:bret.busby at gmail.com> wrote:
>
> On 24/11/2018, Ian Bruntlett <ian.bruntlett at gmail.com
> <mailto:ian.bruntlett at gmail.com>> wrote:
> > Hi All,
> >
> > What is the preferred way to edit text configuration files
> that require
> > root access?
> >
> > For example, I would normally use emacs to edit
> /etc/default/grub
> >
> > TIA,
> >
> >
> > Ian
> >
>
> Have you tried
> sudo vi <filename>
> ?
>
>
>
> Or nano. It would be nice if there were a GUI editor that could
> edit root owned files.
>
> Colin
>
>
> I have been using "sudo gedit" for over a decade. Don't tell the
> security people, but in my own home, I make the rules :-)
If you have a root-permissioned file browser, like Konqueror or
Dolphin-root, you can activate Kate from inside it and edit a file with
root permissions.
--doug
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20181201/be047688/attachment.html>
More information about the ubuntu-users
mailing list