(14) Raspberry Pi - pi modify account password, open the root account

 

https://blog.csdn.net/yoie01/article/details/45115067

1, modify the PI account password

password pi

2, open the root account
linux Raspberry Pi using a debian system, so enabling the root and raspberry pie debian is the same.

debian in the root account has no password by default, but the account is locked.
When you need root privileges by default account via sudo to perform, Raspberry pi system Raspbian
default user password is raspberry pi is
back on the root account, the user is logged by pi, execute the command line

sudo passwd root
After executing this command, the system prompts for the root password twice, enter the password you want to set, and then execute
sudo passwd --unlock root
so that you can unlock the root account.

Guess you like

Origin www.cnblogs.com/kekeoutlook/p/11122865.html