Still Reading Commercial Emails For Free? Receive Emails On Topics That Interests You And Get Paid For It! Get $10 Just to signup! Click Here

Custom Search

Tuesday, October 14, 2008

Recover root password

·

Step-by-Step Procedure

If the system is not halted, then halt the system by pressing Stop-A. This will bring you to the OK prompt.

  1. It may take awhile, but you will automatically be logged in as root in single user mode running the OS from the CD-ROM.

  2. If you had to force halt the system, by pressing Stop-A for instance, then the partitions on the hard disk will not be marked as being shutdown cleanly. If this happens, run fsck on the root partition. It is used to check and repair the file system. In this case it won't ask for the root password as it is in single user mode. Type: fsck -y /dev/dsk/c0t3d0s0
  3. Now c0t3d0s0 is just the root partition in this example. Verify your boot disk.
  4. Mount the root partition. The CD-ROM has created a directory for mounting hard disks. Type: mount /dev/dsk/c0t3d0s0 /a
  5. root::10565::::::

    Various fields will be used if certain parameters have been set for the OS.

  6. Note: That is, reboot space hyphen hyphen space hyphen s.

  7. You can log in as root without a password and set root's password using the passwd command.
  8. Exit single user mode and let the system continue booting to multi-user mode.


 

0 comments:

Travel Packages

Travel package in malaysia as low as USD29.00
Packages: Langkasuka Hotel
Duration: Per Night
Location:Langkawi
80% of 90,000 Hotels worldwide available at lowest price guaranteed!
Join viewmalaysia.com now! langkasuka