Hi Phani,

How did you install elasticsearch and where is your elasticsearch 
configuration located? If you have used a RPM or DEB package, you will need 
to add an environment variable before running the esusers command, please 
see http://www.elastic.co/guide/en/shield/current/getting-started.html

On Monday, March 16, 2015 at 7:57:48 AM UTC-7, [email protected] wrote:
>
> Hi All,
>
>    I am using elastic version 1.4.2 in development i installed 
> elasticsearch shield on each node of my cluster i have 3 nodes in my 
> cluster.
>
>    i followed the below procedure to install shield.
>
>     *Step 1: Install*  bin/plugin -i elasticsearch/license/latestbin/plugin 
> -i elasticsearch/shield/latest   *Step 2: Start Elasticsearch*  
> bin/elasticsearch   *Step 3: Add an admin user*  bin/shield/esusers 
> useradd es_admin -r admin   *Step 4: Try it out - secured*  curl -XGET '
> http://localhost:9200/'   *Step 5: And with a user*  curl -u es_admin 
> -XGET 'http://localhost:9200
>
>
>
> i added admin user by using above command but when i tried to get cluster 
> health status form sense console it is asking password
> when i enter my admin password it is showing authentication failed 
> exception from console. please suggest me what could be the issues am i 
> doing wrong any where?
>
> Thanks 
> phani
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/70210d29-2e7a-49a0-833c-dad4f0542a9f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to