手頭有臺TX2,想要遠程控制reboot,在nvidia賬號下直接敲命令:
nvidia@tegra-ubuntu:~$ sudo reboot -h
[sudo] password for nvidia:
nvidia is not in the sudoers file. This incident will be reported.
nvidia這個用戶不在有sudo權限的用戶組。
換個用戶,TX2提供了兩個用戶,另外一個是ubuntu,切到ubuntu就可以了。
也可以給nvidia加reboot權限,在/etc/sudoers文件裏面添加一行
nvidia ALL=(ALL:ALL) ALL