What is the linux sudo password?

藏色散人
Release: 2023-02-15 10:34:47
Original
8614 people have browsed it

Linux sudo password is random, that is, there is a new root password every time you boot up. The method to set a new password is: 1. Enter the command "sudo passwd" in the terminal, and then enter the password of the current user , press the "Enter" key; 2. Re-enter the new password in the terminal and confirm it.

What is the linux sudo password?

The operating environment of this tutorial: ubuntu 16.04 system, MySQL version 5.7, Dell G3 computer.

What is the password for linux sudo?

Ubuntu's default root password is random, that is, there is a new root password every time you boot up.

Solution:

1. You can enter the command "sudo passwd" in the terminal, then enter the current user's password and "Enter".

What is the linux sudo password?

#2. The terminal will prompt us to enter a new password and confirm it. The password at this time is the new root password.

3. After the modification is successful, enter the command su root and then enter the new password.

What is the linux sudo password?

Recommended study: "Linux Video Tutorial"

The above is the detailed content of What is the linux sudo password?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!