"sudo su -" does not work when run from system console
说明
The command "sudo su -" does not work when run from the system console, The shell exits immediatly with a return code of 1. The command works correctly when run from a regular terminal.
原因
There was a problem found in code in the root users profile which was causing the shell to exit.
解决办法
Correcting the shell profile corrected the problem.