Enable root fallback
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.
시작하기 전에
Confirm that AWS SSM Agent discovery is enabled. For more information, see Enable AWS SSM-based discovery.
Role required: discovery_admin
이 태스크 정보
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.
프로시저
- 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.
결과
A new record is added to the AWS SSM Instance Users [aws_ssm_instance_user_credentials] table with the user name "root".