Run Command as Non-Root User
You can run commands remotely on your edge device as a root or non-root user. This page shows how to run as non-root.
When you run a Bash command on the edge device using the Command Runner or the Update Flow tool, by default JFrog Connect runs the command as the Linux root user on the device. If you do not want the command to run as root user, you can change the user.
To change to a non-root user on edge device, do the following:
Use the following command:
Change
<user_name>
to the non-root user name, change<cmd>
to the command you want to run, and run the command.
What’s Next?
Learn how to use Run Command action blocks in your update flows.
Last updated