Page 1 of 1

AdminTools error when editing authentication method

Posted: Fri Feb 10, 2012 8:27 pm
by Jbaskin
I am trying to set up the authentication method that Vertica will use. In Admintools I get an error stating "Unable to find $EDITOR or $VISUAL editors."

How do I fix this?

Re: AdminTools error when editing authentication method

Posted: Mon Feb 13, 2012 2:46 pm
by JimKnicely
Did you set up your EDITOR environment variable? If you want to use the vi editor then you can find out where the vi executable is located with the "which vi" command:

Example:

Code: Select all

bash-3.2$ which vi
/bin/vi
Then export that value to the EDITOR variable:

Code: Select all

bash-3.2$ export EDITOR=/bin/vi
You can add the export command to your .bash_profile or .bashrc file so that the variable gets defined when you log in.