4 security command-line root password
我在Ubuntu控制台中输入了命令:
$ sudo mc
Run Code Online (Sandbox Code Playgroud)
它给了我这个:
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
Run Code Online (Sandbox Code Playgroud)
并要求输入密码。它是什么?我只想root访问控制台。
您收到的消息是您第一次在给定帐户上运行“sudo”时显示的常见消息。将其视为某种警告,从现在开始您将以 root 身份运行,因此如果您犯了错误,可能会损坏系统。它不会在“sudo”的后续调用中显示。
您必须输入的密码是您从中运行“sudo”的用户的密码。