AdminTools error when editing authentication method

Moderator: NorbertKrupa

Post Reply
User avatar
Jbaskin
Intermediate
Intermediate
Posts: 61
Joined: Sat Jan 28, 2012 1:21 pm

AdminTools error when editing authentication method

Post by Jbaskin » Fri Feb 10, 2012 8:27 pm

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?
Attachments
admintools_error.png
Error Image
admintools_error.png (3.28 KiB) Viewed 1982 times

User avatar
JimKnicely
Site Admin
Site Admin
Posts: 1778
Joined: Sat Jan 21, 2012 4:58 am
Contact:

Re: AdminTools error when editing authentication method

Post by JimKnicely » Mon Feb 13, 2012 2:46 pm

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.
Jim Knicely

Image

Note: I work for HPE. My views, opinions, and thoughts expressed here do not represent those of my employer.

Post Reply

Return to “Vertica Security”