I am getting an error while adding users for shield . The issue seems to relate to installation by packages in ubuntu box creates files in /etc/elasticsearch/shield/*
but bin/shield/esusers looking for files in /usr/share/elasticsearch/config/shield/ /usr/share/elasticsearch# bin/shield/esusers useradd es_admin -r admin Enter new password: Retype new password: Warning: The following roles [admin] are unknown. Make sure to add them to the [/usr/share/elasticsearch/config/shield/roles.yml] file. Nonetheless the user will still be associated with all specified roles ERROR: could not write file [/usr/share/elasticsearch/config/shield/users], please check file permissions I got a temp work around. cp /etc/elasticsearch/shield/* /usr/share/elasticsearch/config/shield/. Then once user is created I copied files back. cp /usr/share/elasticsearch/config/shield/us* /etc/elasticsearch/shield/. -- Deepak Subhramanian -- Please update your bookmarks! We have moved to https://discuss.elastic.co/ --- 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 elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CA%2BUubiiUvvqGzsaEELY-Q11HtpgeW9e04wQL-DYw0jd8eeKnQA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.