Skip to content

Commit

Permalink
Update install.md (#291)
Browse files Browse the repository at this point in the history
提供另一种常见的切换到root账户的方式
  • Loading branch information
alex-ibb authored Jan 26, 2024
1 parent b6a2f98 commit c144e64
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion zh_CN/prep/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,16 @@ Sun 22 Jan 16:16:23 GMT 2017
执行命令:`su`
之后输入管理员密码(此处的密码是默认隐藏的,不要以为没打上去)。

执行以后命令行形如
切换成 root 账户后 后命令行形如

```console
user@host:~$ su
Password:
root@host:/home/user#
```

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

-----

## 服务器安装
Expand Down

0 comments on commit c144e64

Please sign in to comment.