The root password for Windows 10 WSL Ubuntu system
After installing Ubuntu, you realize that you do not have a root password. If you do not know the password, you will not be able to access the root user.
to the search on the net, the original is the way it is:
the Ubuntu’s default root password is random, namely each have switched on a new root password.
we can command in a terminal input
>
Reprinted from: https://www.jianshu.com/p/e43e11d6ba09
After installing Ubuntu, you realize that you do not have a root password. If you do not know the password, you will not be able to access the root user.
to the search on the net, the original is the way it is:
the Ubuntu’s default root password is random, namely each have switched on a new root password.
we can command in a terminal input
sudo passwd code>, and then enter the current user password, the terminal will be prompted to enter a new password and we confirm that the new password is root password.
> root
>> code>>
> su root
>
> >
su root
> >Reprinted from: https://www.jianshu.com/p/e43e11d6ba09
Read More:
- Setting the root password of windows 10 Ubuntu subsystem
- Centos7 forgot the root password and could not log in to the system
- There is no windows solution in dual system Ubuntu grub startup
- Error 1045 (28000) access denied for user ‘root’ @’localhost ‘appears in MySQL under Windows system
- (Windows+xrdp+ubuntu16.04) Remote server error: “password failed error-problem connecting”
- MySQL forgot the root password
- Error messages of copying files to Linux system by PSCP in Windows operating system
- Error 1045 (28000): solution to access denied for user ‘root’ @’localhost ‘(using password: no)
- Authentication token manipulation error appears in ubuntu18.04 password modification
- Error 1045 (28000): access denied for user ‘root’ @’localhost ‘(using password: no)
- Win10 system virtual machine installation of Ubuntu system failed, prompt: UBI language failed with exit code 1
- Linux-mysql8.0 password reset problem – error 1396 (HY000): Operation alter user failed for ‘root’ @’localhost ‘
- Modify the password of mysql8 on Windows
- Solve the problem of “wireless network activation failure” in Ubuntu 18, and repeatedly pop up the password input interface
- Win7 and Ubuntu dual system, start error: no such partition grub rescue
- ER_ACCESS_DENIED_ERROR: Access denied for user ‘root‘@‘localhost‘ (using password: NO)
- Using xrdp to realize windows remote desktop Ubuntu Linux
- Ubuntu (16.04) creates a Windows boot U disk, using woeusb instead of DD
- Restart and shutdown of Ubuntu system in the terminal