This page will show one way how to get root access via a serial cable. (See here for details about the cable and the connection.)
To get access to a linux console with root rights, there are several methods. I used the following method:
(cat <<- _EOF_ #!/bin/sh set -x WORK_DIR=`dirname $0` #Test the machine's architecture and quit immediately if there's an error. CHECK_ARCH=`uname -m` if [ "${CHECK_ARCH}" != "armv7l" ];then echo "Machine architecture error." echo ${CHECK_ARCH} exit 1 fi # Ask user to change root password $WORK_DIR/play cp /etc/shadow /etc/shadow_old cat /etc/shadow passwd sync $WORK_DIR/play exit 0 ) > ~/flashforge_init.sh
minicom -b 115200 -D /dev/ttyUSB0 -C serial_port_115200.pw_change.txt