Points to be noted on setting up an environment

(1) "Remote device execution" using sudo

If the settings and environment for HULFT IoT EdgeStreaming are configured as shown below, an error may occur when you perform remote device execution.

On the EdgeStreaming Studio side

Execution using sudo is enabled with the following settings:

Select the Execution settings > Remote device connection settings menu on the Designer screen.

Select (Enable) Execute using sudo on the Remote device connection settings screen.

On the remote device side

Valid settings are configured to execute the sudo command with a password.

 

If you use the above settings and environment, check the sudo command execution settings (/etc/sudoers file) on the remote device side as shown below.

Settings for executing the sudo command: how to check them

Check whether either of the following lines exists with the sudo visudo command:

  • %sudo ALL=(ALL:ALL) ALL

  • User name ALL=(ALL) NOPASSWD:ALL

= Remarks =

Check that the User name set on the Remote device connection settings screen on the Studio side is specified for User name.

 

If neither line is found after checking the above, an error may occur when you perform remote device execution.

In this case, change the sudo command execution settings (/etc/sudoers file) as shown below.

Settings for executing the sudo command: how to change them

Add the following line and save the /etc/sudoers file with the sudo visudo command:

  • User name ALL(ALL) NOPASSWD:ALL

= Remarks =

Specify the User name set on the Remote device connection settings screen on the Studio side for User name.