Run Amazon IoT Greengrass V2 as a non-root user
Typically, the root user installs and runs the Amazon IoT Greengrass Core software on Linux devices. To increase device security, you can set up a non-root user to run the Amazon IoT Greengrass Core software instead. This section provides guidance on setting up non-root configurations.
If you are setting up new Amazon IoT Greengrass V2 core devices and want to run them as a non-root user from the start, see Set up Amazon 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, Amazon IoT Greengrass must run as a system service.