I flash the Jetson TK1 with L4T v21.4. The target boots and logs in as ubuntu@ubuntu; however, I can’t sudo any command. When I try to sudo I get the following:
ubuntu@tegra-ubuntu:~$ sudo ls sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
I need to be able to sudo to install the cuda and opencv packages. What is the reason I can’t sudo? I did not see any indication that I needed to add user ubuntu to the sudoers list before flashing the target.
I noticed that all my files on the target are ownded by root:
ubuntu@tegra-ubuntu:~$ ll total 100 drwxr-xr-x 2 root root 4096 Jul 17 2015 ./ drwxr-xr-x 3 root root 4096 Apr 1 2015 ../ -rw-r--r-- 1 root root 220 Apr 1 2015 .bash_logout -rw-r--r-- 1 root root 3637 Apr 1 2015 .bashrc -rw-r--r-- 1 root root 675 Apr 1 2015 .profile -rwxr-xr-x 1 root root 80941 Jul 17 2015 tegrastats*
IS this expected? Anyone else with this problem, or know how to resolve it?