ubuntu root default password (initial password)

After ubuntu is installed, the initial root password (default password) is unknown and needs to be set.

1、 First log in to the system with the user who installed it

2、 Input: sudo passwd and press enter

3、 Enter the new password, repeat the password, and finally prompt passwd: password updated sucessfully

At this time, the root password setting has been completed

4、 Input: su root

Try switching user to root...

Recommended Posts

ubuntu root default password (initial password)
Modify the default root password of the Ubuntu operating system
Remove root password verification strategy under ubuntu
Note record | Ubuntu16.04 set default root user login
Wsl sets the default account to root (ubuntu18.04)
Root password cracking under CentOS 7
CentOS7/Redhat7 cracking Root password (linux)
Ubuntu 16.04 cannot switch root permissions
Initial setup of Ubuntu 16.04 server
Linux ubuntu...root initial password setting
Detailed steps to install MySQL to change the default password in Ubuntu
Tencent Cloud Ubuntu 18.04 open root login
Ubuntu install MySQL password initialization problem
Ubuntu change password and username steps
Linux basics (root privileges in Ubuntu)
Use Ubuntu 16.04 for initial server setup