首页 > 系统服务 > 详细

break into Ubuntu System

时间:2016-03-04 07:04:36      阅读:162      评论:0      收藏:0      [点我收藏+]

This morning, I got a spare machine from of of the labmates. The OS is ubuntu 12.04. I could not log into the system because it is under other person‘s account.

 

Attack

Just enter into recovery mode when I start the computer.

select root.

passwd [username]

Then there is an error information. authentication token manipulation error.

mount -rw -o remount / 

passwd [username]

 

Countermeasure

[hide recovery mode]

vi /etc/default/grub

update-grub

[set root password]

sudo passwd root

 

break into Ubuntu System

原文:http://www.cnblogs.com/yangzhang/p/5240756.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!