如何切换用户至root

先输入:su;

接着有提示,然后输入密码;

回车后用户切换成功,如下图所示(root@localhost)

 

 

 

posted @ 2021-11-07 08:37  艾特-天空之海  阅读(422)  评论(0编辑  收藏  举报