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

Linux: Ubuntu默认root密码

时间:2014-10-16 22:46:13      阅读:215      评论:0      收藏:0      [点我收藏+]

标签:style   blog   http   io   ar   sp   on   log   html   

摘自http://www.cnblogs.com/xuyingying/archive/2008/10/16/1312584.html

安装完Ubuntu后忽然意识到没有设置root密码,不知道密码自然就无法进入根用户下。到网上搜了一下,原来是这麽回事。Ubuntu的默认root密码是随机的,即每次开机都有一个新的root密码。我们可以在终端输入命令 sudo passwd,然后输入当前用户的密码,enter,终端会提示我们输入新的密码并确认,此时的密码就是root新密码。修改成功后,输入命令 su root,再输入新的密码就ok了。

Linux: Ubuntu默认root密码

标签:style   blog   http   io   ar   sp   on   log   html   

原文地址:http://www.cnblogs.com/yingzhongwen/p/4029689.html

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