From c144e643d400d85cad81f0891bd5ae8c1174bf36 Mon Sep 17 00:00:00 2001 From: alex-ibb <133253947+alex-ibb@users.noreply.github.com> Date: Fri, 26 Jan 2024 12:00:44 +0800 Subject: [PATCH] Update install.md (#291) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 提供另一种常见的切换到root账户的方式 --- zh_CN/prep/install.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zh_CN/prep/install.md b/zh_CN/prep/install.md index 38b61a31..8c15e058 100644 --- a/zh_CN/prep/install.md +++ b/zh_CN/prep/install.md @@ -39,7 +39,7 @@ Sun 22 Jan 16:16:23 GMT 2017 执行命令:`su` 之后输入管理员密码(此处的密码是默认隐藏的,不要以为没打上去)。 -执行以后命令行形如: +切换成 root 账户后 后命令行形如: ```console user@host:~$ su @@ -47,6 +47,8 @@ Password: root@host:/home/user# ``` +某些云服务器默认不提供root的密码,只提供了管理员(`sudoer`)级的账户。这时可尝试`sudo su -`来切换成 root 账户。 + ----- ## 服务器安装