Skip to Content.
Sympa Menu

sm-grimoire-bugs - [SM-Grimoire-Bugs] [Bug 13423] sudo defaults to nano when upstream would use vi

sm-grimoire-bugs AT lists.ibiblio.org

Subject: SourceMage Grimoire Bug List

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-grimoire-bugs AT lists.ibiblio.org
  • Subject: [SM-Grimoire-Bugs] [Bug 13423] sudo defaults to nano when upstream would use vi
  • Date: 19 Jan 2007 17:48:36 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=13423





------- Additional Comments From jakakranjc AT email.si 2007-01-19 11:48 -------
I was just passing along what I read about --with-env-editor. It would be
different from a normal sudo someapp in the sense that it would get logged.

--with-env-editor
Makes visudo consult the VISUAL and EDITOR environment variables
before
falling back on the default editor list (as specified by
--with-editor).
Note that this may create a security hole as it allows the user to
run any arbitrary command as root without logging. A safer
alternative
is to use a colon-separated list of editors with the --with-editor
option. visudo will then only use the VISUAL or EDITOR variables
if they match a value specified via --with-editor.

So maybe we could append all the other providers to the --with-editor list,
if
you think this option would be handy.

--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




Archive powered by MHonArc 2.6.24.

Top of Page