Troubleshoot Running Linux Commands on BeagleBone Black Hardware

You changed the root user password, and now the system function does not work. The current bbb object uses the old password. To regain control of the Command Window, press Ctrl+C. Clear the bbb object and any other object based on the old password. Create a new connection using beaglebone with the arguments that specify the new password. Use the system function again.

For more information, see: Linux.