How to reset the root password on the CMS?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • kminin
    Whiz
    • Aug 2010
    • 31

    How to reset the root password on the CMS?

    Good day.
    CMS r13.1cb.e. There is no password for root. There is a document like this password reset:

    This requires IR 3.0 recovery CD.
    I found this Recovery:
    New Recovery CD for Avaya IR 2.0 (Solaris 10) - Release Date_ 08/2008


    Try to boot with this CD. But the server does not see the drive as bootable.

    Where to get the recovery CD?
    Or how to reset the root password?

    Thank you!
  • shaikht
    Genius
    .
    • Feb 2010
    • 246

    #2
    Hi,

    Please find steps to reset root password on CMS:

    Pre-requisite:
    Please perform the CMS ADM and Maintenance backups before proceeding with the activity of resetting the root password.
    Go to the Data Center/Location where the CMS Server is located/installed. Make sure that the SUN Monitor and Keyboard are connected and working.
    Make sure you have the Solaris 9/10 DVD available.
    This is a service affecting activity. hence ensure you have the correct approvals from the required teams.

    1. Perform a "STOP+A" from console using the SUN Keyboard. This will drop you to the OK prompt.
    2. Insert the Solaris DVD which would have come along with the CMS server in the CD/DVD ROM.
    3. ok> boot cdrom -sw
    4. Once you are at the '#' prompt, please follow the below steps very carefully.
    3. # fsck -y /dev/dsk/cXtXdXsX - See below for drive designations for specific platforms:
    Platform Boot disks
    Sun Blade - c0t0d0s0
    Sun Netra - c1t0d0s0
    Sun Fire - c1t0d0s0
    Sun Enterprise - c0t0d0s0
    Sun Sparc - c0t3d0s0
    4. # mount /dev/dsk/c0t3d0s0 /a
    5. # TERM=sun export TERM
    6. # vi /a/etc/shadow (You will need to get rid of everything between the first : and the second : for the root user)e.g. root::13616::::::
    7. # umount /a
    8. # init 6

    On other question, you need to look solaris bootable CD's. In case it is not available, try to download OS from Oracle site or try to get it from someone else. CD is just needed to boot the server.

    I hope it helps.

    Comment

    Loading