Solved

How to reset admin password for fortigate 80c firewall?

Posted on 2013-06-25
4
2,532 Views
Last Modified: 2013-07-08
This is using fortigate 80c firewall appliance. I was just took over the responsibility from my ex-colleague who already left the company. However, I found I made a mistake as he didn't pass down the admin password to me. Btw, how to reset the admin password without losing the current configuration?

Thanks in advance.
0
Comment
Question by:MezzutOzil
  • 3
4 Comments
 

Author Comment

by:MezzutOzil
ID: 39274004
Sorry, my mistake. I want to reset admin password for Cisco Router 881 without losing the configuration.

Thanks,
0
 
LVL 9

Accepted Solution

by:
TvMpt earned 500 total points
ID: 39274014
Try this article:
Forgot your Cisco router password?  Did you know you can change them without losing your configuration?  In this brief how-to, I will walk you through it. In order to perform a password recovery, you will need to reboot the router a couple of times.  This means downtime, but it is a good sacrifice to make in order to get your passwords reset.
 
First, hook up the DB9 end of the standard light blue serial cable to your serial port.  The other end of the cable should plug into the port labeled “Console” on the back of the Cisco router.  If you do  not have a serial port, then you'll need to go purchase a USB-to-serial adapter cable and install it on your computer.
 

Now that your hardware is connected, establish a serial connection with the router.

The settings you need are:

Baud: 9600
Data bits: 8
Parity: No
Stop bits: 1
Flow Control: None
 
On Windows, I use putty for this connection.  Yes, putty can be used to make serial connections as well as telnet/ssh.  Hyperterminal works great as well.  On Linux, I use minicom and on FreeBSD/OpenBSD, I use cu (cu -s 9600 -l /dev/cuad0).
 
Reboot the router and press the Break key to interrupt the boot sequence.

For break key sequences, refer to this Cisco link: http://www.cisco.com/en/US/products/hw/routers/ps133/products_tech_note0...
 
Type confreg 0x2142.  This tells the router to bypass NVRAM during bootup.  In other words, your existing configuration won't be loaded.  The good news is that it won't be deleted either.
 
Type reset to reboot the router.  Answer No when prompted to run setup.
 
Type copy start run.  This loads your startup configuration into memory.  Now, if you type a show run config, you'll see the router configuration.  Also, you should notice that your router name is now in the prompt instead of the default “Router”.
 
Change the enable secret - “enable secret new_password”
 
Change the register back to 0x2102:
config-register 0x2102
 
When the router reboots it will load the old configuration with the new password.
 
Save the password so that it will be persistent during reboots, type copy run start
 
Reboot the router by typing reload at the enable prompt.
 
Now, keep that password in a nice safe place – in your head does not count.  I keep mine saved in a safe place for future retrieval and I make sure my customers have a copy as well.  Remember, passwords are nice until you forget them.

And the official cisco procedure didn't seems to lose the conf too.

http://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942bc.shtml
0
 

Author Comment

by:MezzutOzil
ID: 39278371
Thank TvMpt,

Please allow me to have some time to go through, and then get back to you...
0
 

Author Closing Comment

by:MezzutOzil
ID: 39307860
Great, it works
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VPN tunnel up, but no pings or remote resource access 13 99
Palo Alto Firewall Startup Page 3 38
clean-up rule netscreen firewall 3 84
Network Router- Access control List 4 54
I recently had the displeasure of buying a new firewall at one of the buildings I play Sys Admin at. I had to get a better firewall than the cheap one that I had there since I was reconnecting the main office to the satellite office via point-to-poi…
Network traffic routing plays key role in your network, if you have single site with heavy browsing or multiple sites, replicating important application data from your Primary Default Gateway ,you have to route your other network traffic from your p…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now