On Thu, 19 Mar 2020 00:10:33 +0100, Tom H wrote: >> $: su - >> #: EDITOR=joe visudo >> >> That will call visudo with the editor set to joe. I do the same, but >> use nano instead. > >"su -" can be used if "root" has a password. If not $ sudo -i does the job. However, it should read # EDITOR=joe vigr not "visudo" ;).