Skip to main content

gl00ad's blog

How to simulate MBR damage?

I was Linux Admin for serveral years, with over 20 linux boxes, never have problem with MBR failure, the question is: how to simulate one? so that I can have experience to fix it?

Being new to town, anyone have a hint?

How to reset root password?

being asked how to reset root password. I told:
reboot to single user mode, and passwd root

I was told: wrong, I need to mount the partition first.

fact:
1) if someone left the company, you still have root access, just use:
passwd root, that will do it.

2) if you forget or being changed, and you have the machine,
boot into single user mode, no need to mount anything, just passwd root
with grub, you need to append single to boot into single user mode

Syndicate content