[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: visudo with Emacs
From: |
Eli Zaretskii |
Subject: |
Re: visudo with Emacs |
Date: |
Sun, 19 Jun 2011 05:54:33 +0300 |
> Date: Sat, 18 Jun 2011 17:48:27 -0400
> From: MON KEY <address@hidden>
>
> When $EDITOR is not set visudo falls back to using the nonsensical
> editor (i.e. /bin/vi). However, unlike Emacs, that editor does not
> leave behind an /etc/sudoers.tmp~
>
> AFAICT the stray /etc/sudoers.tmp~ is not in keeping with the
> spirit of visudo. Emacs should operate equivalently with vi.
??? Why? what's wrong with leaving backup files in these use cases?
If nothing else, you get for free the ability to easily restore the
original files, if you happen to screw up.