注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

金生丽水,雨润轩德

 
 
 

日志

 
 

HMC 忘记 hscroot密码的解决办法  

2015-11-26 10:37:44|  分类: AIX |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

 HMC 版本  7.3.4

 登录web控制台时忘记hscroot的密码了。

重启HMC,出现grub启动界面时按e键进入编辑模式,然后修改kernel 一行,在apm=power-off 后面增加init=/bin/rcpwsh。然后回车退出,然后按b启动。系统会提示修改hscroot密码,修改后系统会自动重启,就可以登录了。

参见 http://bbs.chinaunix.net/thread-4141865-1-1.html

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:
      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.

  评论这张
 
阅读(401)| 评论(0)
推荐

历史上的今天

在LOFTER的更多文章

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2018