visudo: specified editor (/bin/nano) doesn't exist

This is a wiki page. Be bold and improve it!

If you have any questions about the content on this page, don't hesitate to open a new ticket and we'll do our best to assist you.

Problem:

# visudo
visudo: specified editor (/bin/nano) doesn't exist

Solution:
Either install nano,
or, if you prefer another editor (e.g. vim), set the $EDITOR variable to the proper value. For details, see the $EDITOR section of the page on visudo.