In Ubuntu 8.10, sensible-editor defaults to nano now, and select-editor
(which will run by default the first time) allows you to select another
one.
** Changed in: sudo (Ubuntu)
Status: Confirmed = Fix Released
--
visudo is completely unusable (/etc/sudoers can only be editted with an
You could add these lines:
CODE:
# Set Environment for sudo -E.
#export EDITOR=vim
#export EDITOR=nano
# Make sudo -E the default setting for sudo.
# alias sudo='sudo -E'
:CODE
to the ~/.bashrc file, so that slightly advanced users can set this up right.
Or when given directions to this, all
I am using the final version of Hardy and, like Iain, also have the
habit to remove the password grace period. I also limit sudo password
grace period to individual ttys, instead of global, by adding
Defaults:ALL tty_tickets.
I was driving nuts and almost ruined sudoers because I couldn't edit
Although I'm a die-hard vi user myself, I do appreciate that it is
absolutely the wrong default if someone innocent accidentally runs into
it. :-)
Therefore I am reopening this bug for usability reasons. I think the
least that we can do is to add a comment to the top of the file to
document how
It's certainly an unfortunate default, and I had hoped it would be
brought up elsewhere, as, at least at one time, I seem to recall that
these sorts of issues weren't handled in bugs, especially for issues
involving confusing behaviour and vi.
One option would be to undo the changes made for the
Okay, I agree with both you.
Martin, yes, a fix for this is something that should be discussed.
I totally agree with adding three new apps that have the ability to
change the files in accordance.
In the one end you have visudo, vigr vipw that use vi. and the other
you can have pisudo, pigr
** Attachment added: Dependencies.txt
http://launchpadlibrarian.net/12908460/Dependencies.txt
--
visudo is completely unusable (/etc/sudoers can only be editted with an
external text editor)
https://bugs.launchpad.net/bugs/207369
You received this bug notification because you are a member
(I'm assuming this isn't a prank about vi)
I'm afraid this is the direct result of bug #388659, which means that
visudo will now use vi by default. Vi is an editor with a rather
different model of editing.
If you want to use nano, set your $EDITOR variable (eg, export
EDITOR=nano), and then
Sorry, that bug number appears to be a Debian bug. See
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=388659 .
--
visudo is completely unusable (/etc/sudoers can only be editted with an
external text editor)
https://bugs.launchpad.net/bugs/207369
You received this bug notification because you
Ok, that has solved it.
Sorry, but I've never used vi before.
But seriously, is it *that* unusable?
How do you write in it?
Space doesn't work, letters don't print, all what I managed to figure out was
that q sets recording to on, whatever that is...
I'm not being funny, I was rather shocked
10 matches
Mail list logo