树莓派-3 启用root
默认是user: pi, password: raspberry
通过如下设置root密码并启用
pi@raspberrypi:~ $ sudo passwd root
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
pi@raspberrypi:~ $ sudo passwd --unlock root
passwd: password expiry information changed.
pi@raspberrypi:~ $ su root
Password:
root@raspberrypi:/home/pi#