Have you followedthis guide? Users and passwords are no longer specified through the Elasticsearch config file as shown here, so I suppose you might have used an out-of-date guide.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.