Run AWS IoT Greengrass V2 as a non-root user
Typically, the root user installs and runs the AWS IoT Greengrass Core software on Linux devices. To increase device security, you can set up a non-root user to run the AWS IoT Greengrass Core software instead. This section provides guidance on setting up non-root configurations.
If you are setting up new AWS IoT Greengrass V2 core devices and want to run them as a non-root user from the start, see Set up AWS IoT Greengrass V2 core devices as non-root. This guide covers multiple solutions based on your device constraints and security requirements.
Note
The non-root configurations in this section apply to Linux devices only. On Windows, AWS IoT Greengrass must run as a system service.