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

break into Ubuntu System

时间:2016-03-04 07:06:48      阅读:225      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!