AdminTools error when editing authentication method

Forum to discuss Vertica security

AdminTools error when editing authentication method

Postby 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 341 times
User avatar
Jbaskin
Beginner
Beginner
 
Posts: 45
Joined: Sat Jan 28, 2012 1:21 pm

Message from our Sponsor

Sponsor

Sponsor
 

Re: AdminTools error when editing authentication method

Postby knicely87 » 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
HP ATP - Vertica Big Data Solutions V1 Certified
User avatar
knicely87
Site Admin
Site Admin
 
Posts: 766
Joined: Sat Jan 21, 2012 4:58 am


Return to Vertica Security

Who is online

Users browsing this forum: No registered users and 1 guest