# Super user elastic can't run as regular user

**URL:** https://discuss.elastic.co/t/super-user-elastic-cant-run-as-regular-user/352974
**Category:** Elasticsearch
**Created:** [February 9, 2024, 8:21pm UTC](https://discuss.elastic.co/t/super-user-elastic-cant-run-as-regular-user/352974 "2024-02-09T20:21:35Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![data\_smith](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/data_smith/32/124122_2.png) [@data\_smith](https://discuss.elastic.co/u/data_smith)
#### Post date: [February 9, 2024, 8:21pm UTC](https://discuss.elastic.co/t/super-user-elastic-cant-run-as-regular-user/352974/1 "2024-02-09T20:21:36Z")

</div>

Shouldn't elastic user be able to run\_as anyone?

I have a proxy in front of Kibana and in the past I could set it to run as a user  
I would use the elastic user to authenticate and then run as someone else. Now it's saying I can't do that. It says elastic user in superuser group can't run as some other user.

But when I call the Elastic api directly it works fine:

```auto

curl -H "es-security-runas-user: jacknich" -u elastic:password -X GET http://localhost:9200/

```

---

<div class="post-metadata">

### Author: ![data\_smith](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/data_smith/32/124122_2.png) [@data\_smith](https://discuss.elastic.co/u/data_smith)
#### Post date: [February 9, 2024, 10:02pm UTC](https://discuss.elastic.co/t/super-user-elastic-cant-run-as-regular-user/352974/2 "2024-02-09T22:02:15Z")

</div>

Nevermind. My user id was lowercase. I really wish user ids weren't case sensitive

---

<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: [March 8, 2024, 10:02pm UTC](https://discuss.elastic.co/t/super-user-elastic-cant-run-as-regular-user/352974/3 "2024-03-08T22:02:17Z")

</div>

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