Sunday, 1 May 2011

to break a password

How to break a pass word
1. Insert the Solaris OS CD
2. Ok setenv boot-device cdrom
3. Ok boot cdrom -s                    // single user (or) maintainance mode
4. # TERM = ansi
    # export TERM                        // RAM to kernel
    # mkdir /tmp/root/abc
    # mount /dev/dsk/c0t0d0s0   /tmp/root/abc
    # vi /tmp/root/abc/etc/shadow
   /root/xxxxxxxxxxxxxx/pwd
 now remove the 13 encoded characters, save & exit
now restart
# init 6
# ok setenv boot-device disk
# ok boot disk









No comments:

Post a Comment