F5忘记ROOT\ADMIN密码怎么办

本文介绍如何通过单用户模式重置BIG-IP系统的root和admin密码。适用于忘记密码的情况,包括详细步骤及官方建议。

案例一:拥有可用的OPERATION权限的用户

BIGIP v9的root和admin帐号的密码修改可以在WEB界面进行修改,但前提是有一个可以登录的OPERATION权限的用户,这样才可以通过WEB界面进行修改(详见图1)

图1:

 

案例二:忘记所有OPERATION以上权限的用户密码

这种情况可以通过console进入单用户模式进行修改root和admin帐号的密码(详见如下步骤

STEP1:重启设备,在出现GRUB菜单时候,选择要启动的 boot image,输入”e”来进行编辑

STEP2:进入到以下界面,继续敲入”e”,进行编辑

STEP3:在后面加入 single,这样下次再重启的时候,系统会进入单用户模式

STEP4:敲入”b”,重启设备

STEP5:这个时候系统进入单用户模式

STEP6:mount –a 

STEP7:输入 passwd root   进入修改密码界面,输入新的root 帐号的口令

STEP8:完毕后,重启设备

STEP9:设备重起后,可以试试新设定的密码

 

另附官方资料供参考:

1.1 Solution ID: SOL4178 

1.1.1  Booting BIG-IP in single user mode 

Products: 

ASM versions 9.2 - 9.2.3 

GTM versions 9.2.2 - 9.2.3 

LCM versions 9.2.2 - 9.2.3 

LTM versions 9.0 - 9.2.3 

 

Updated: 05-12-2006 

 

Sometimes it is necessary to boot the BIG-IP system into single-user mode to fix 

operating system issues, such as filesystem or root password issues.  

To boot the BIG-IP system into single-user mode, perform the following steps: 

Note: To perform the following steps, you must be local to the BIG-IP system 

with a console connection.  

1.  Connect a terminal to the BIG-IP serial console port. 

2.  Reboot the BIG-IP system. 

 

While booting, the BIG-IP system will display the GRUB menu and will 

countdown before continuing the boot process. 

3.  Before the countdown expires, press the ^ and v keys (SHIFT, 6, v) to select the 

boot image.  

Note: Only one boot image will be available unless you have installed 

multiple boot images. 

4.  Press the e key to edit the boot options. 

5.  A new menu screen displays. 

6.  Press the ^ or v keys (SHIFT, 6, v) to select the line that begins with kernel 

/boot/vmlinuz. 

F5 Networks, Inc.    China World Tower 2,10/F,Suite 1001C,Beijing   tel: 6505.2375   fax: 65052287   www.f5.com.cn  

 

7.  Press the e key. 

8.  Add the word single to the end of the kernel /boot/vmlinuz line. 

 

For example: 

kernel /boot/vmlinuz single 

9.  Press the Enter key. 

10. Press the b key to boot the system using the modified options. 

You have now booted the system in single-user mode. When you are finished using 

single-user mode, type exit or reboot to return the BIG-IP system to normal operating 

mode. 

 

1.2 Solution ID: SOL3350 

1.2.1  Changing account passwords for the command line and 

Configuration utility 

Products: 

BIG-IP ASM version 9.2 

BIG-IP LTM versions 9.0 - 9.2 

 

Updated: 02-18-2006 

How do I recover a lost or forgotten root password? 

1.2.2  Changing Root and Support Passwords 

To reset a lost or forgotten  root o r  support password, perform the following steps: 

1.  Boot the system into single-user mode.  

Note: For specific instructions, refer to  SOL4178: How do I boot BIG-IP 

into single-user mode?

2.  Type the following commands:  

F5 Networks, Inc.    China World Tower 2,10/F,Suite 1001C,Beijing   tel: 6505.2375   fax: 65052287   www.f5.com.cn  

 

mount -a 

passwd <account> 

For example: 

passwd root 

3.  When prompted, enter a new password. 

4.  Type exit or reboot to return to the normal operating mode.  

After the system reboots, you should be able to log in using the new password. 

1.2.3  Changing an Administrative Account Password 

Note: If you have not lost the password, but want to change it, F5 Networks 

recommends that you do so using the Configuration utility. Changing the  admin 

password from the command line will result in passwords that are different 

on each BIG-IP in a redundant pair, which will prevent configuration 

synchronization from working correctly. For specific instructions about how 

to change a Configuration utility  admin password, refer to the  Managing User 

Accounts chapter of the BIG-IP Systems Management Guide. 

To reset a lost Configuration utility  admin account password from the command line, 

perform the following steps: 

1.  Log in to the command line. 

2.  Reset the admin password, by typing the following command:  

passwd admin 

3.  When prompted, enter the new admin password. 

4.  When prompted, retype the new admin password.  

BIG-IP will display the following message: 

passwd: all authentication tokens updated successfully. 

5.  For a redundant pair, repeat these steps on the peer system. Configuration 

synchronization will not work correctly until the passwords match.  

 
该数据集通过合成方式模拟了多种发动机在运行过程中的传感器监测数据,旨在构建一个用于机械系统故障检测的基准资源,特别适用于汽车领域的诊断分析。数据按固定时间间隔采集,涵盖了发动机性能指标、异常状态以及工作模式等多维度信息。 时间戳:数据类型为日期时间,记录了每个数据点的采集时刻。序列起始于2024年12月24日10:00,并以5分钟为间隔持续生成,体现了对发动机运行状态的连续监测。 温度(摄氏度):以浮点数形式记录发动机的温度读数。其数值范围通常处于60至120摄氏度之间,反映了发动机在常规工况下的典型温度区间。 转速(转/分钟):以浮点数表示发动机曲轴的旋转速度。该参数在1000至4000转/分钟的范围内随机生成,符合多数发动机在正常运转时的转速特征。 燃油效率(公里/升):浮点型变量,用于衡量发动机的燃料利用效能,即每升燃料所能支持的行驶里程。其取值范围设定在15至30公里/升之间。 振动_X、振动_Y、振动_Z:这三个浮点数列分别记录了发动机在三维空间坐标系中各轴向的振动强度。测量值标准化至0到1的标度,较高的数值通常暗示存在异常振动,可能与潜在的机械故障相关。 扭矩(牛·米):以浮点数表征发动机输出的旋转力矩,数值区间为50至200牛·米,体现了发动机的负载能力。 功率输出(千瓦):浮点型变量,描述发动机单位时间内做功的速率,取值范围为20至100千瓦。 故障状态:整型分类变量,用于标识发动机的异常程度,共分为四个等级:0代表正常状态,1表示轻微故障,2对应中等故障,3指示严重故障。该列作为分类任务的目标变量,支持基于传感器数据预测故障等级。 运行模式:字符串类型变量,描述发动机当前的工作状态,主要包括:怠速(发动机运转但无负载)、巡航(发动机在常规负载下平稳运行)、重载(发动机承受高负荷或高压工况)。 数据集整体包含1000条记录,每条记录对应特定时刻的发动机性能快照。其中故障状态涵盖从正常到严重故障的四级分类,有助于训练模型实现故障预测与诊断。所有数据均为合成生成,旨在模拟真实的发动机性能变化与典型故障场景,所包含的温度、转速、燃油效率、振动、扭矩及功率输出等关键传感指标,均为影响发动机故障判定的重要因素。 资源来源于网络分享,仅用于学习交流使用,请勿用于商业,如有侵权请联系我删除!
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值