Showing posts with label Password Recovery. Show all posts
Showing posts with label Password Recovery. Show all posts

Friday, July 15, 2011

Reset password on Riverbed Steelhead

To reset your password on a Steelhead appliance, you must have access to the serial console

or monitor and be able to see the entire boot process to perform these steps:

1. Start, or reboot the appliance.

2. Once you see the "Press any key to continue" message, press a key.

3. Immediately press E.

A GNU GRUB menu appears.

For a Steelhead upgraded to 4.0 from 2.0 or 3.0, the menu prompts you to select the Riverbed

Steelhead, diagnostics, or a restore/recovery image. Select Riverbed Steelhead and skip to

Step 5.

For a Steelhead manufactured with 4.0 (that has not had previous versions), the menu prompts

you to select the disk image to use. Continue with Step 4.

For software versions prior to 4.0, the menu displays root and kernel parameters. Skip to Step

6.

4. Press V or ^ to select the disk image to boot.

5. Press E.

Another GRUB menu appears, with options similar to these:

------------------

0: root (hd0,1)

1: kernel /vmlinuz ro root=/dev/sda5 console=tty0 console=ttyS0,9600n8

-----------------

6. Press V or ^ to select the kernel boot parameters entry.

7. Press E to edit the kernel boot parameters.

You should be given a partially filled in line of text.

8. Append " single fastboot" at the end of this line. Note the space before 'single', it is very

important. (And do not enter the quotes.)

9. The line of text will contain TWO "console=" entries. Delete the one containing "tty0" (unless

you are using a keyboard/monitor on the Steelhead, in which case delete the one containing

"ttyS0").

TIP: Use the arrow keys to access the entire command line.

10. Press Enter.

11. Press the B key to continue booting.

The system starts.

12. Once at the command prompt, type "/sbin/resetpw.sh" and press Enter.

The password will be blank.

13. Type "reboot" and press Enter to reboot the appliance.

Monday, June 27, 2011

WCS Password Reset

Go to command prompt


Stop the WCS server :

C:\Program Files\WCS6.0.132.0\bin>StopWCS


Then run the root-user command:

C:\Program Files\WCS6.0.132.0\bin>passwd.bat root-user PASSWORD


Start the WCS server:

C:\Program Files\WCS6.0.132.0\bin>StartWCS


Outout:

----------


Initializing...
Updating root password.
This may take a few minutes...
Successfully updated root user


Ref: Link Https://supportforums.cisco.com/thread/2005438


Cisco Switch Password Recovery

First, unplug the power cable from switch and Connect on PC with terminal emulation via console cable.

Power On the switch and press the Mode button.

Release the Mode button after approximately 15 seconds when the SYST LED turns solid green. When you release the Mode button, the SYST LED blinks green.

Issue the flash_init command.

switch: flash_init
Initializing Flash...
flashfs[0]: 143 files, 4 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 3612672
flashfs[0]: Bytes used: 2729472
flashfs[0]: Bytes available: 883200
flashfs[0]: flashfs fsck took 86 seconds
....done Initializing Flash.

Issue the load_helper command.

switch: load_helper

Issue the dir flash: command.

Note: Make sure to type a colon ":" after the dir flash.

The switch file system is displayed:

switch: dir flash:
Directory of flash:/
2 -rwx 1803357 c3500xl-c3h2s-mz.120-5.WC7.bin

Type rename flash:config.text flash:config.old to rename the configuration file.

switch: rename flash:config.text flash:config.old

Issue the boot command to boot the system.

switch: boot

--- System Configuration Dialog ---
At any point you may enter a question mark '?' for help.
Use ctrl-c to abort configuration dialog at any prompt.
Default settings are in square brackets '[]'.
Continue with configuration dialog? [yes/no]: n

At the switch prompt, type en to enter enable mode.

Switch>en
Switch#
Type rename flash:config.old flash:config.text to rename the configuration file with its original name.

Switch#rename flash:config.old flash:config.text

Switch#copy flash:config.text system:running-config

Sw1# conf t

!--- To overwrite existing secret password
Sw1(config)#enable secret

!--- To overwrite existing enable password
Sw1(config)#enable password

Sw1#write memory
Building configuration...
[OK]
Sw1#



Sunday, March 08, 2009

Cisco Router Reset Password

To reset the password. Please to do so following procedure

Attach a terminal or PC with terminal emulation to the console port of the router.

Use these terminal settings:

9600 baud rate

No parity

8 data bits

1 stop bit

No flow control

(Note: If you can't enter to recovery mode, take out the WIC if you inserted in Router.)
Press Break on the terminal keyboard within 60 seconds of power up in order to put the router into ROMMON.

If the break sequence does not work, refer to Standard Break Key Sequence Combinations During Password Recovery for other key combinations.

Type confreg 0×2142 at the rommon 1> prompt in order to boot from Flash.

This step bypasses the startup configuration where the passwords are stored.

Type reset at the rommon 2> prompt.

The router reboots, but ignores the saved configuration.

Type no after each setup question, or press Ctrl-C in order to skip the initial setup procedure.

Type enable at the Router> prompt.

You are in enable mode and should see the Router# prompt.

Type configure memory or copy startup-config running-config in order to copy the nonvolatile RAM (NVRAM) into memory.

Important: Do not type copy running-config startup-config or write. These commands erase your startup configuration.

Type show running-config.

The show running-config command shows the configuration of the router. In this configuration, the shutdown command appears under all interfaces, which indicates all interfaces are currently shut down. In addition, the passwords (enable password, enable secret, vty, console passwords) are in either an encrypted or unencrypted format. You can reuse unencrypted passwords. You must change encrypted passwords to a new password.

Type configure terminal.

The hostname(config)# prompt appears.

Type enable secret <password> in order to change the enable secret password. For example:

hostname(config)#enable secret cisco

Issue the no shutdown command on every interface that you use.

If you issue a show ip interface brief command, every interface that you want to use should display up up.

Type config-register . Where configuration_register_setting is either the value you recorded in step 2 or 0×2102 . For example:

hostname(config)#config-register 0×2102

Press Ctrl-z or end in order to leave the configuration mode.

The hostname# prompt appears.

Type write memory or copy running-config startup-config in order to commit the changes.


Hope to help

Reference by http://blog.yucas.info/2008/03/11/cisco-1841-password-recovery/