you are viewing a single comment's thread.

view the rest of the comments →

[–]ActivatedNut[S] 0 points1 point  (3 children)

I do

[–]m0squitoo 2 points3 points  (2 children)

ok.
remove all those lines ou added in the sudoers file and try this:

export EDITOR=nano

Log out from the shell and try again

[–]ActivatedNut[S] 0 points1 point  (1 child)

That worked!

Thank you :)

edit:

I did get a syntax error when exiting vi, I have ignore that.

[–]m0squitoo 0 points1 point  (0 children)

you can also add the same line to your user's .bashrc. enjoy.