On Thu, Nov 22, 2012 at 08:22:23PM +0100, lee wrote:
> > Or better, set VISUAL=emacs and run `sudo -e`, which was designed for
> > this purpose. (And which, by the way, will work out of the box on Fedora
> > for members of the wheel group.)
> In which way is that better?

Because emacs isn't actually executed as root. The editor is executed under
your user id, operating on a temporary file, which is then copied into
place. It's impossible for the editor (or the person using it) to do
anything as root other than edit the specified file.




-- 
Matthew Miller  ☁☁☁  Fedora Cloud Architect  ☁☁☁  <mat...@fedoraproject.org>
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to