What is sudo password in the lab environment

Hi @Andre_Murbach_Maidl

I have restarted the environment with a fresh shell and tried this:

elastic@ip-172-31-35-63:~$ pwd
/home/elastic
elastic@ip-172-31-35-63:~$ sudo ./elastic-agent install --url=https://fleet-server:8220 --enrollment-token=..........
[sudo] password for elastic:

There are 2 reasons that sudo is required:

  • in the step 12 it is explicitly asked for After the Elastic Agent is installed you can use `sudo /opt/Elastic/Agent/elastic-agent` in case you need to troubleshoot.
  • Elastic Agent requires root according the Elastic documentation