Skip to content

Commit c144e64

Browse files
authored
Update install.md (#291)
提供另一种常见的切换到root账户的方式
1 parent b6a2f98 commit c144e64

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

zh_CN/prep/install.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,16 @@ Sun 22 Jan 16:16:23 GMT 2017
3939
执行命令:`su`
4040
之后输入管理员密码(此处的密码是默认隐藏的,不要以为没打上去)。
4141

42-
执行以后命令行形如
42+
切换成 root 账户后 后命令行形如
4343

4444
```console
4545
user@host:~$ su
4646
Password:
4747
root@host:/home/user#
4848
```
4949

50+
某些云服务器默认不提供root的密码,只提供了管理员(`sudoer`)级的账户。这时可尝试`sudo su -`来切换成 root 账户。
51+
5052
-----
5153

5254
## 服务器安装

0 commit comments

Comments
 (0)