title: How to run Elasticsearch 2.1.1 as root user in Linux machine
body: <p>I am trying to run Elasticsearch 2.1.1 in my Linux machine which I am the root user of it.</p>
  
  <p>When I tried to execute the Elasticsearch.I am getting the following error:</p>
  
  <pre><code>Exception in thread "main" java.lang.RuntimeException: don't run elasticsearch as root.
          at org.elasticsearch.bootstrap.Bootstrap.initializeNatives(Bootstrap.java:93)
          at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:144)
          at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:285)
          at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:35)
  Refer to the log for complete error details.
  </code></pre>
  
  <p>I referred some suggestion available in internet, they mentioned to run it as different user. My scenario is to run as root user only. How to overcome this problem without running as different user.</p>