# Run Command as Non-Root User

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:

1. Use the following command:

```
runuser -l <user_name> -c <cmd>
```

2. 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](https://docs.connect.jfrog.io/features-new-ui/deployments/update-flow/step-types/run-command) action blocks in your update flows.
