Reset Pass
Reset Pass
Reset Pass
x)
Non-Diagnostic
Topic
Note: For information about changing system maintenance account passwords in earlier versions, refer to
K3350: Changing system maintenance account passwords (9.x - 10.x).
You should consider using this procedure under either of the following conditions:
You want to modify the passwords for the root or admin users.
You want to reset a lost or forgotten root password.
Description
On installation, the BIG-IP system creates a default root user and a default administrative user with the
following credentials.
Username Password
root default
admin admin
For more information about default users, refer to K13148: Overview of default management access
settings for F5 products.
You should always modify the passwords for BIG-IP maintenance accounts from their defaults. The
procedures in this article provide multiple ways to modify the system maintenance account password to
comply with password policies, standards such as PCI compliance, or other security policies appropriate to
your organization. If you lose or forget the root password, you can reset it without reinstalling the system
software.
Prerequisites
To modify the root or admin passwords, you must have either administrator or root level access to
either the Configuration utility or the command line, respectively.
To reset a lost root password, you must have access to the BIG-IP serial console.
Procedures
Using the Configuration utility to modify system maintenance account passwords
Using tmsh to modify system maintenance account passwords
Resetting a lost or forgotten root password
Impact of procedure: Performing the following procedure should not have a negative impact on your system.
Impact of procedure: Performing the following procedure should not have a negative impact on your system.
tmsh
2. To modify the password for the root account, enter the following command:
Note: If you need to modify the password for only the admin account, skip to step 5.
Note: If you need to modify the password for only the root account, skip the remaining steps.
5. To modify the password for the admin account, enter the following command:
quit
Resetting a lost or forgotten root password
Note: If you want to reset a lost or forgotten root password on BIG-IP 14.1.0 and later, refer to the following
articles:
K35811337: How to recover the root password on non-RAID BIG-IP platforms (BIG-IP 14.1.0 and
later)
K23220345: How to recover the root password on RAID-capable BIG-IP platforms (BIG-IP 14.1.0 and
later)
Impact of procedure: This procedure requires that you restart the BIG-IP system in single-user mode. While
in this mode, the device is unable to process traffic.
Note: Access to the command prompt of the device may take five-to-10 minutes of boot time,
depending on the device type.
For platform-specific instructions and the GRUB version of your platform, refer to one of the following
articles:
Note: For information about determining the GRUB version, refer to K14658: Determining the GRUB
bootloader version on the BIG-IP, BIG-IQ, or Enterprise Manager system.
For platforms using GRUB2, refer to K14662: Restarting the BIG-IP system in single-user mode
(GRUB2)
For platforms using GRUB 0.97, refer to K4178: Restarting the BIG-IP system in single-user
mode (GRUB 0.97)
For Virtual Clustered Multiprocessing (vCMP) guests, refer to K14581: Resetting a lost or
forgotten administrative account password on a vCMP guest
Note: Some attempts at booting to single-user mode result in a forced FSCK and asking for the
password. K14662 states that you can skip the file system check by appending the words single
fastboot instead of single.
mount -a
passwd root
After the system restarts, you should be able to log in using the new password.
Supplemental Information
K12304: The TACACS+ secret key must not contain the number sign (#)
K15497: Configuring a secure password policy for the BIG-IP system (11.x - 15.x)
Traffic Management Shell (tmsh) Reference Guide
Note: For information about how to locate F5 product manuals, refer to K98133564: Tips for
searching AskF5 and finding product documentation.
Applies to:
Product: BIG-IQ
6.X.X, 5.4.X
Product: BIG-IP, BIG-IP AAM, BIG-IP AFM, BIG-IP APM, BIG-IP ASM, BIG-IP DNS, BIG-IP GTM, BIG-IP
Link Controller, BIG-IP LTM, BIG-IP PEM
15.X.X, 14.X.X, 13.X.X, 12.X.X, 11.X.X
Product: Legacy Products, BIG-IP WebAccelerator, BIG-IP WOM, BIG-IP PSM, BIG-IP Edge Gateway
15.X.X, 14.X.X, 13.X.X, 12.X.X, 11.X.X