[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I'am root user, but 'emacs /etc/sudoers' still report Buffer is read

From: Emanuel Berg
Subject: Re: I'am root user, but 'emacs /etc/sudoers' still report Buffer is read-only: #<buffer sudoers> in modeline
Date: Fri, 01 May 2015 03:23:19 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Bob Proulx <address@hidden> writes:

> And so we have vipw and visudo which both would have
> originally spawned vi on the respective files.
> But now the vi part of the name of those classic
> tools is used generically to mean edit the file.
> Anything else would require changing the name and
> that would be egregiously breaking scripts and
> things that used the previous name.

No, hands off "visudo"! :)

>> If you are dead set on using Emacs, try
>>     sudo EDITOR='/usr/bin/emacs -u USER' visudo
> Not necessary when using the typical sudo
> configuration. Really! :-) What does this say
> for you?
>   $ sudo printenv HOME



Nice catch! I wonder how that happened. Probably my
hacker friends in the FSB. Investigating...

underground experts united

reply via email to

[Prev in Thread] Current Thread [Next in Thread]