免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 7318 | 回复: 1

[系统管理] HMC hscroot密码丢失找回 [复制链接]

论坛徽章:
0
发表于 2014-06-13 13:36 |显示全部楼层
最近hmc密码丢失,hscroot密码找不到了。最终找到一个文档进行解决。

HMC 7.3.4 and later

1. Power off the HMC.
2. Power on the HMC., and as soon as the Loading grub message is
displayed, quickly press the ESC key to get into grub.
The Grub menu will show one line with the text hmc.

Tip: The "Loading grub" message may flash by very quickly - or not be
seen. It is the first message after the BIOS successfully loaded message
and occurs prior to any linux boot messages.  Tapping the esc key after
seeing the BIOS successfully loaded may be helpful (but do not tap prior
to bios load as bios may detect it as a keyboard error).

3. On the Grub menu, select e for edit.  The next GRUB screen is
displayed with two lines:

root (hd0,0)
kernel (hd0,1)/boot/bzImage ro root=/dev/hda2 vga=0x317 apm=power-off

Note:  The root device can vary by model:  hda2 C03, C04, CR2, and hdc2
for CR3.
4. Move the cursor down to the line starting with kernel.  Select e for
edit.

Move the cursor to the right and append the following to the end of the
string:

init=/bin/rcpwsh

The final string will vary slightly by version and model:

kernel (hd0,1)/boot/bzImage ro root=/dev/hda2 vga=0x317 apm=power-off
init=/bin/rcpwsh

(init=/bin/rcpwsh 是加在power-off后面)

Press the Enter key to save the changes.

5. Press b to boot the changed selection.

This will boot to a special prompt that allows hscroot to be reset.
6. Change the password.
Wait for the following status messages and the prompt for a new
password.
      You have requested to recover the password for hscroot
      Changing password for hscroot.
      New password:

Type your new hscroot password and press enter. Next prompt:

      Retype new password:

Retype your new hscroot password and press enter. HMC will reboot.

Then continue with Step 10 to change hscroot password through GUI, and
reboot again.
7. Log on as hscroot.
8. Immediately after logon, use the HMC GUI (HMC Management, Change User
Password) or the chhmcusr command to change the password.
9. Stop and restart the HMC.  Some processes must be restarted after the
passwords are synchronized.

评分

参与人数 1可用积分 +5 信誉积分 +2 收起 理由
hello_unix + 5 + 2 赞一个!

查看全部评分

论坛徽章:
0
发表于 2014-06-28 18:54 |显示全部楼层
好东西,好多时候直接不知道怎么办了,然后,然后就重装HMC了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP