树莓派-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# 

posted @ 2018-06-17 23:25  feiwatson  阅读(145)  评论(0编辑  收藏  举报