Solved

How to reset admin password for fortigate 80c firewall?

Posted on 2013-06-25
4
2,503 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
Comment Utility
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
Comment Utility
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
Comment Utility
Thank TvMpt,

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

Author Closing Comment

by:MezzutOzil
Comment Utility
Great, it works
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

In this tutorial I will show you with short command examples how to obtain a packet footprint of all traffic flowing thru your Juniper device running ScreenOS. I do not know the exact firmware requirement, but I think the fprofile command is availab…
Hi All,  Recently I have installed and configured a Sonicwall NS220 in the network as a firewall and Internet access gateway. All was working fine until users started reporting that they cannot use the Cisco VPN client to connect to the customer'…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

763 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

9 Experts available now in Live!

Get 1:1 Help Now