Enable root fallback
- UpdatedDec 11, 2025
- 1 minute read
- Zurich
- Discovery
Enable the fallback root user property to allow AWS SSM discovery to run commands as root on Linux systems when alternate user credentials aren’t configured.
Before you begin
Confirm that AWS SSM Agent discovery is enabled. For more information, see Enable AWS SSM-based discovery.
Role required: discovery_admin
About this task
When the glide.discovery.enable_ssm property is enabled, AWS SSM Discovery on Linux defaults to using the root user for command execution. If you prefer not to configure alternate user credentials on your EC2 instances, you must enable the mid.discovery.aws_ssm.linux.fallback_root_user MID Server property to allow fallback to root execution. When enabled, it automatically creates a record in the AWS SSM Instance Users [aws_ssm_instance_user_credentials] table with the user name root. However, if you leave this property set to false, you must configure non-root credentials to run Discovery commands. For more information, see Configure custom user credentials.
Procedure
- Navigate to .
- In the Name field, enter mid.discovery.aws_ssm.linux.fallback_root_user.
- Double-click the Value field to perform inline editing.
- Enter true.
-
Select the check mark (
) icon.
Result
A new record is added to the AWS SSM Instance Users [aws_ssm_instance_user_credentials] table with the user name "root".