Answer how to open the root account on the Raspberry Pi

The Linux used by the Raspberry Pi is the debian system, so enabling root and debian for the Raspberry Pi is the same.

The root account in debian has no password by default, but the account is locked.

When root privileges are required, the default account is executed via sudo, Raspbian in the Raspberry pi system.

The default user is pi and the password is raspberry.

Re-open the root account, which can be executed under the command line after logging in by the pi user.

Answer how to open the root account on the Raspberry Pi

Modify the root password. After executing this command, the system will prompt to enter the root password twice, just enter the password you want to set, and then execute it.

Answer how to open the root account on the Raspberry Pi

This will unlock the root account.

If the prompt "password expiry informaTIon changed." appears after the above execution, it is because the new version of ssh closes root login by default, so you can modify the ssh configuration file.

Answer how to open the root account on the Raspberry Pi

[Ctrl+W] shortcut key, search for [PermitRootLogin without-password], modify [PermitRootLogin without-password] to [PermitRootLogin yes]. 【Ctrl+O】Shortcut key, save. Press Enter again, and then [Ctrl+X] shortcut key to exit. Finally use

Answer how to open the root account on the Raspberry Pi

Command restart, so you can unlock the root account.

Insulation Silicone Fiberglass Sleeve

Insulation Silicone Fiberglass Sleeve,Acrylic Coated Fiberglass Sleeving,Silicone Fibreglass Cable Sleeve,Insulation Silicone Fibreglass Cable Sleeve

Longkou Libo Insulating Material Co.,Ltd. , https://www.sdliboinsulation.com