This ‘How to’ is written to show the step by step password recovery of the Cisco Routers. It is assumed that you have a prior knowledge of what a router is and its basic function. It is also assumed the you are having some experience of configuring the router.
Please do not follow these steps if you are a new to Routers, as this can damage the IOS or any physical interface of the router.
1.Connect a computer to the router’s Console port using the Console cable that came with your router (it is usually flat and light blue).
Use these terminal settings:
* 9600 baud rate
* No parity
* 8 data bits
* 1 stop bit
* No flow control
2.Turn the router off using the power switch and turn it back on.
3.Once text starts popping up on the screen, send the break command CTRL + B or CTRL +BREAK (sometimes it is CTRL +X). This will abort the boot and present you with a rommon 1> prompt
4.From the new prompt you need to change the configuration register using the following command: confreg 0×2142
5.If you are using an older model of router you may need to enter o/r 0×2142
6.Now you need to recycle the router with the reset command.
7.If you used the o/r command then reset the router with the I command
8.Once the router finishes restarting you will find that there are no passwords to deal with, so you can enter enabled mode carte blanche.
9.Once in enabled mode enter this: copy start run. This will copy the startup config to the running config.
10.Now, go into configuration mode with the config t command
11.Once there enter the new password with the enable secret password command (i.e. enable secret admin).
12.Now set the configuration register back to normal with this command: confreg 0×2102
13.Exit config mode and enter the command copy run start to copy the new configuration to ram.
14.Now it is time to reload your router
15.Once the router is back up you need to configure all of your interfaces with the no shutdown command or they will not work.
Tags: cisco router regiter settings change, forgot cisco router password, Network, recover cisco router password, reset cisco router passwordcisco router regiter settings change, forgot cisco router password, Network, recover cisco router password, reset cisco router password addthis_url = 'http%3A%2F%2Fwww.debianadmin.com%2Fhowto-recover-cisco-router-password.html'; addthis_title = 'Howto+Recover+Cisco+Router+Password'; addthis_pub = 'david23';
©2008 Debian Admin. All Rights Reserved.
.Debian: Debian Admin Step By Step Tutorials and articles with screenshots
By default, MySQL Server will be installed with root superuser without any password. You can connect to MySQL server as root without requiring password or by keying in blank password. However, if you have set the password for root and forget or unable to recall the password, then you will need to reset the root password for MySQL.
Login as root to the Unix-like (Unix, Linux or BSD) machine with the MySQL server.
Stop the MySQL server by using either of the following command
#/etc/init.d/mysql stop
Now you need to Start MySQL server without password
# mysqld_safe --skip-grant-tables &
Connect to mysql server using mysql client with the following command
# mysql -u root
Now you should be having mysql prompt
mysql>
Now you need to Setup new MySQL root user password
mysql> use mysql;
mysql> update user set password=PASSWORD(”newrootpassword”) where user=’root’;
mysql> flush privileges;
mysql> quit
Note: Replace newrootpassword with the new root password for MySQL server. Flush Privileges is needed to making the password change effect immediately.
Now you need to Stop MySQL Server using the following command
# /etc/init.d/mysql stop
Test Your New Mysql root password
First you need to start mysql server using the following command
# /etc/init.d/mysql start
# mysql -u root -p
Now it will prompt for root password and enter your new root password
Tags: change mysql root password, Database, forgot mysql root password, recover mysql root password, reset mysql database root passwordchange mysql root password, Database, forgot mysql root password, recover mysql root password, reset mysql database root password
Debian: Debian Admin Step By Step Tutorials and articles with screenshots
Debian: Debian Admin Step By Step Tutorials and articles with screenshots
Debian
Ubuntu
password
General
in
ROOT
change
installing
webmin