» tagged pages
» logout

sorted by: recent | see : popular
Content Tagged with change + password

Howto Recover Cisco Router Password

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: , , , , , , , , 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

Reset a user password on MediaWiki - Greg's Postgres stuff

md5(CONCAT('123-',md5('newpassword'))) WHERE user_id=123

MediaWiki: del.icio.us/tag/mediawiki

How to Install Webmin in Ubuntu

Webmin is a web-based interface for system administration for Unix. Using any browser that supports tables and forms (and Java for the File Manager module), you can setup user accounts, Apache, DNS, file sharing and so on.



Webmin consists of a simple web server, and a number of CGI programs which directly update system files like /etc/inetd.conf and /etc/passwd. The web server and all CGI programs are written in Perl version 5, and use no non-standard Perl modules.

Preparing Your System

You need to install the following packages

sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl libmd5-perl

Install Webmin in Ubuntu

You can use the above procedure but if you want to install latest version of .deb package you can download from webmin site under Download Section

Download latest webmin using the following command

wget http://prdownloads.sourceforge.net/webadmin/webmin_1.340_all.deb

Now we have webmin_1.340_all.deb package you need to install using the following command

sudo dpkg -i webmin_1.340_all.deb

If your server complains that there is some library things does not find. Just run the following command

sudo apt- get install -f

You should now be able to login to Webmin at the URL https://localhost:10000/

Webmin User Password Change

If you want to change root password in webmin use this included Perl script:

sudo /usr/share/webmin/changepass.pl /etc/webmin root

Ubuntu: Only Ubuntu

Recover MySQL Database root password

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: , , , , , , , ,

Debian: Debian Admin Step By Step Tutorials and articles with screenshots

Webmin Installation and Configuration in Debian and Ubuntu Linux

Webmin is a web-based interface for system administration for Unix. Using any browser that supports tables and forms (and Java for the File Manager module), you can setup user accounts, Apache, DNS, file sharing and so on. Webmin consists of a simple web server, and a number of CGI programs which directly update system files like [...]

Debian: Debian Admin Step By Step Tutorials and articles with screenshots