# Sudo password error

**URL:** <https://discuss.elastic.co/t/sudo-password-error/382407>\
**Category:** Elastic Training\
**Created:** [October 3, 2025, 5:06pm UTC](https://discuss.elastic.co/t/sudo-password-error/382407 "2025-10-03T17:06:28Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Tortoise](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tortoise/32/147587_2.png) [@Tortoise](https://discuss.elastic.co/u/Tortoise)\
**Post date:** [October 4, 2025, 1:56am UTC](https://discuss.elastic.co/t/sudo-password-error/382407/2 "2025-10-04T01:56:39Z")

</div>

Hello @sbelmont

Could you please check the below post if it is helpful in your case :

> [@What is sudo password in the lab environment](https://discuss.elastic.co/t/what-is-sudo-password-in-the-lab-environment/375035/4):
>
> Hi @Waldemar_Schafer , I'm sorry if I mislead the conversation. Yes, sudo is required and the environment is configured to allow sudo without password for installing and running the agent, but it is restricted to the path provided in lab instructions. What is the path you are running the agent install? That command must be executed from /home/elastic/elastic-agent-8.8.2-linux-x86\_64 directory. Best, Andre

Thanks!!

---

_[View the full topic](https://discuss.elastic.co/t/sudo-password-error/382407)._
