Timeline for Recommending sudoedit instead of sudo $editor?
Current License: CC BY-SA 2.5
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 28, 2011 at 0:52 | comment | added | Eliah Kagan |
@lfaraone The first time sensible-editor is run, it lets the user select what editor to use. If the first run is with sudo then it will presumably store this configuration information in the non-root user's configuration (as the default behavior of sudo is to use $HOME from the running user's environment), likely rendering the particular configuration file inaccessible (or at least unchangeable) by the non-root user. Therefore, I doubt it would be a good idea to recommend this approach.
|
|
Nov 27, 2011 at 0:08 | answer | added | keepitsimpleengineer | timeline score: 1 | |
Sep 5, 2010 at 14:10 | history | edited | moberley |
edited tags
|
|
Sep 5, 2010 at 14:08 | history | edited | moberley |
edited tags
|
|
Aug 21, 2010 at 13:49 | comment | added | lfaraone Mod |
what about sudo sensible-editor file ?
|
|
Aug 21, 2010 at 13:28 | answer | added | OliMod | timeline score: 6 | |
Aug 21, 2010 at 7:27 | answer | added | Marco CeppiMod | timeline score: 5 | |
Aug 21, 2010 at 2:57 | history | asked | Jorge Castro | CC BY-SA 2.5 |