码迷,mamicode.com
首页 > 系统相关 > 详细

Ubuntu切换至root用户

时间:2014-12-07 17:34:18      阅读:154      评论:0      收藏:0      [点我收藏+]

标签:style   blog   使用   sp   strong   on   div   log   bs   

第一种方式:

使用命令
sudo passwd root

设置root用户的密码

然后su root即可切换至root用户

 第二种方式:

sudo bash

 

 




Ubuntu切换至root用户

标签:style   blog   使用   sp   strong   on   div   log   bs   

原文地址:http://www.cnblogs.com/zhjsll/p/4149551.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!