Fibre Channel (SAN)

Reply
Occasional Contributor
Posts: 14
Registered: ‎11-04-2004

How to reset the root password of DCX running FOS 6.3.1b

Hi,

I am looking for the appropriate procedure to reset the root password of DCX which running FOS 6.3.1b,someone changed the password but lost it.

Thanks.

Best Rgds,

Simon

External Moderator
Posts: 4,780
Registered: ‎02-23-2004

Re: How to reset the root password of DCX running FOS 6.3.1b

Reset procedure is available from Brocade Support or they OEM Supplier

TechHelp24
Occasional Contributor
Posts: 14
Registered: ‎11-04-2004

Re: How to reset the root password of DCX running FOS 6.3.1b

Thanks.

Finally,we recover the password of "root" on DCX by the following procedure:

1) Connect to the serial console port on Standby CP and reboot the board

2) Press ESC at the message “Press escape within 4 seconds...” The Boot PROM menu is displayed,select "3" to enter command shell

3) Run the printenv command, then save the output to a file

4) Lead the OS into single-user mode

    => setenv OSLoadOptions single

    => boot ATA()0xa64g

5) Mount filesystem

    > mount -o remount,rw,noatime /

    > mount /dev/hda2 /mnt (where hda is followed by the second partition value (such as hda1 or hda2) from OSRootpartition value in the printenv
output)

6) Reset password to factory default

    > /sbin/passwddefault

    > reboot -f

7) Reset the password for all accounts on Active CP(still execute it on Standby CP via "rsh")

    > /etc/init.d/network start

    > rsh 127.1.1.7 /sbin/passwddefault

    > rsh 127.1.1.8 /sbin/passwddefault

8) Reboot the standby CP

    > reboot -f

9) Log in to the active CP as admin from a telnet or serial connection,change the password for all built-in accounts.

New Contributor
Posts: 3
Registered: ‎05-21-2009

Re: How to reset the root password of DCX running FOS 6.3.1b

Hi TechHelp24

Thank you for this document (53_1000114_02). it saved me from a lot of pain.

Regards

Hiten

Join the Community

Get quick and easy access to valuable resource designed to help you manage your Brocade Network.