# Elasticsearch default user created . How to use it?

**URL:** https://discuss.elastic.co/t/elasticsearch-default-user-created-how-to-use-it/145367
**Category:** Elasticsearch
**Created:** [August 21, 2018, 10:46am UTC](https://discuss.elastic.co/t/elasticsearch-default-user-created-how-to-use-it/145367 "2018-08-21T10:46:24Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![rijinmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rijinmp/32/24634_2.png) [@rijinmp](https://discuss.elastic.co/u/rijinmp)
#### Post date: [August 21, 2018, 10:46am UTC](https://discuss.elastic.co/t/elasticsearch-default-user-created-how-to-use-it/145367/1 "2018-08-21T10:46:25Z")

</div>

Hi All ,

I am previously used tar (5.6 to 6.3.1) files for ELK stack creation . That ELK stacks and xpack were working well. That time i am used a manually created user named " elastic"

Now i am tried rpm installation (6.3.2) in Redhat 7. After the installation elasticsearch files showing the owner user is " elasticsearch" . When i am trying to switch to that elasticsearch user , that is not possible.

su elasticsearch output is "This account is currently not available"

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [August 22, 2018, 1:54am UTC](https://discuss.elastic.co/t/elasticsearch-default-user-created-how-to-use-it/145367/2 "2018-08-22T01:54:02Z")

</div>

Why do you want to use the user?

---

<div class="post-metadata">

### Author: ![rijinmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rijinmp/32/24634_2.png) [@rijinmp](https://discuss.elastic.co/u/rijinmp)
#### Post date: [August 22, 2018, 5:29am UTC](https://discuss.elastic.co/t/elasticsearch-default-user-created-how-to-use-it/145367/3 "2018-08-22T05:29:51Z")

</div>

Actually i dont know the use of that user elasticsearch . May I run elasticsearch from different user ?

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [August 22, 2018, 6:09am UTC](https://discuss.elastic.co/t/elasticsearch-default-user-created-how-to-use-it/145367/4 "2018-08-22T06:09:20Z")

</div>

You can but there are a few changes you need to make. Why do you want to do this?

---

<div class="post-metadata">

### Author: ![rijinmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rijinmp/32/24634_2.png) [@rijinmp](https://discuss.elastic.co/u/rijinmp)
#### Post date: [August 22, 2018, 6:56am UTC](https://discuss.elastic.co/t/elasticsearch-default-user-created-how-to-use-it/145367/5 "2018-08-22T06:56:45Z")

</div>

I dont know how to run elasticsearch from the user elasticsearch . When I am trying to login to elasticsearch ... its not possible. because of that i am running elastisearch from another user

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [August 22, 2018, 7:07am UTC](https://discuss.elastic.co/t/elasticsearch-default-user-created-how-to-use-it/145367/6 "2018-08-22T07:07:21Z")

</div>

If you used the RPM then use `service` - [https://access.redhat.com/documentation/en-us/red\_hat\_enterprise\_linux/6/html/deployment\_guide/s1-services-running](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/s1-services-running)

---

<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: [September 19, 2018, 7:07am UTC](https://discuss.elastic.co/t/elasticsearch-default-user-created-how-to-use-it/145367/7 "2018-09-19T07:07:30Z")

</div>

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