Running Commands as User

By default, Upswift agent running Bash commands through the root Linux user.

To run Bash commands using the Remote Commands or Micro Update tool with a different Linux user, please use the next Bash command:

runuser -l 'user_name' -c 'cmd'

  • Change the 'user_name' with the required Linux user.

  • Change the 'cmd' with the required Bash command.

Last updated