001、
liujiaxin01@ubuntu01pc1:~/Desktop$ whoami liujiaxin01 liujiaxin01@ubuntu01pc1:~/Desktop$ sudo passwd root ## 创建root账户 [sudo] password for liujiaxin01: New password: Retype new password: passwd: password updated successfully ## 创建成功 liujiaxin01@ubuntu01pc1:~/Desktop$ su - root ## 切换至root账户 Password: root@ubuntu01pc1:~# whoami root
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/279505.html