Saturday, February 12, 2011

How to breakroot passwd

#ok boot cdrom –s

TERM=ansi

Export TERM

Mkdir /demo

Mount /dev/dsk/c0t0d0s0 /demo
Vi /naveen/etc/passwd

Root:KHGHGHGGFG:-remove this junk passwd

Wq!

Reboot it logins with out asking for passwd

# Passwd – enter new password.

No comments:

Post a Comment