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?
AdminTools error when editing authentication method
Moderator: NorbertKrupa
AdminTools error when editing authentication method
- Attachments
-
- Error Image
- admintools_error.png (3.28 KiB) Viewed 18489 times
- JimKnicely
- Site Admin
- Posts: 1825
- Joined: Sat Jan 21, 2012 4:58 am
- Contact:
Re: AdminTools error when editing authentication method
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:
Then export that value to the EDITOR variable:
You can add the export command to your .bash_profile or .bashrc file so that the variable gets defined when you log in.
Example:
Code: Select all
bash-3.2$ which vi
/bin/vi
Code: Select all
bash-3.2$ export EDITOR=/bin/vi
Jim Knicely
Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.
Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.