忘记ODA的root密码怎么办?

由于ODA和Oracle数据库太过于稳定,以至于很多客户忘记了root密码,偶尔我们去进行客户关怀的时候,客户找不到root密码,该怎么办,以下方案亲测有效

参考MOS文档

How To Reset Root Password on ODA when password is unknown (Doc ID 1568384.1)

1、使用 ILOM 登录web控制台(Java Remote Console)需下载jdk1.7以上版本

2、重启操作系统(Reboot the system).

3、当 GRUB 启动,按下任意键中断boot cycle. 

4、There may be several choices to boot.

Example:

root (hd0,0)

kernel /vmlinuz-2.6.32-300.32.4.el5uek ro root=/dev/VolGroupSys/LogVo...  <=== 选择内核select the kernel

initrd /initrd-2.6.32-300.32.4.el5uek.img

Use the arrow key and select the kernel option.

按 “e”键  编辑 GRUB.

增加数字 “1” to the end of line so it looks similar to this:

ro root=/dev/VolGroupSys/LogVol00 1 

注意:1 加在行的最后 

Save by pressing enter and it should accept change.

按 “b” 键重启.

During the boot process this will bring you to a shell prompt and now you can use the passwd command to change the password for the "root" account:

    sh-3.00## passwd

    Changing password for user root.

    New UNIX password:     

or

you will be able to login to root with no password in the single user mode.

Then, change the password by using “passwd” command.

Reboot the DB node.

The default GRUB password can be obtained from Oracle Support.

  • 3
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值