# Starting elasticsearch root

**URL:** https://discuss.elastic.co/t/starting-elasticsearch-root/149975
**Category:** Elasticsearch
**Created:** [September 26, 2018, 10:00am UTC](https://discuss.elastic.co/t/starting-elasticsearch-root/149975 "2018-09-26T10:00:47Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Shaik\_Nayeem](https://avatars.discourse-cdn.com/v4/letter/s/9fc29f/32.png) [@Shaik\_Nayeem](https://discuss.elastic.co/u/Shaik_Nayeem)
#### Post date: [September 26, 2018, 10:00am UTC](https://discuss.elastic.co/t/starting-elasticsearch-root/149975/1 "2018-09-26T10:00:47Z")

</div>

Hi  
i wanted to know can we start elasticsearch with root user ?  
if yes, can you please tell the process .

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [September 26, 2018, 10:06am UTC](https://discuss.elastic.co/t/starting-elasticsearch-root/149975/2 "2018-09-26T10:06:51Z")

</div>

No, Elasticsearch does not allow you to run it as root.

---

<div class="post-metadata">

### Author: ![Shaik\_Nayeem](https://avatars.discourse-cdn.com/v4/letter/s/9fc29f/32.png) [@Shaik\_Nayeem](https://discuss.elastic.co/u/Shaik_Nayeem)
#### Post date: [September 26, 2018, 10:19am UTC](https://discuss.elastic.co/t/starting-elasticsearch-root/149975/3 "2018-09-26T10:19:34Z")

</div>

Thank you @Christian_Dahlqvist for your response ,but i have one issue and the issue is like i have Mesos env for deployment where elasticsearch deployed and the logs storing inside container and i wanted to store logs out of the container to make it workable we need volumes , but we have to run this volumes we need root user .But elasticsearch cannot run with root user.so please share if you have any solution for the same .

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [October 24, 2018, 10:19am UTC](https://discuss.elastic.co/t/starting-elasticsearch-root/149975/4 "2018-10-24T10:19:45Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
