免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1419 | 回复: 0
打印 上一主题 下一主题

SF3800-6800 恢复platform 密码的方法 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-05-27 22:33 |只看该作者 |倒序浏览
Resetting the Platform Administrator's Password:
1. If you have more than one System Controller (SC), to prevent SC failover while doing this procedure, detach network and serial cables from the spare SC. (If you only have one SC, skip this step.)
2. Reboot the SC. You won't be able to do this by logging into the platform shell; you will need to press the reset button on the SC.

3. The normal sequence of a System Controller rebooting is for SCPOST to run, followed by ScApp. SCPOST is done running when you see the message POST Complete.  Wait for ScApp to start loading. When you see the copyright message Copyright 2001 Sun Microsystems, Inc. All rights reserved., press the CONTROL-A keys to spawn a vxWorks shell. You will see this message:
Task not found
spawning new shell.
->
This last line is the vxWorks prompt. Keep in mind that ScApp will continue to load  until it gives you the menu to enter the platform/domain shells. To make it less confusing, wait for the ScApp menu to display, then press return. You will see the vxWorks prompt -> again.
4. Make a note of the current boot flags settings. You will use this information later to restore the boot flags to the original value.
-> getBootFlags()
value = 13 = 0xd
* Save the 0x number for # 8 below.
5. Change the boot flags to disable autoboot.
-> setBootFlags(0x10)
Note: This command will also return the last value stored before this change, so it could be misleading; in this example it will return:
value = 13 = 0xd (original value)
However, if you run the getBootFlags() command again, you will get the new value just set:
-> getBootFlags()
value = 16 = 0x10
1.    Reboot the SC using either CONTROL-X or the reboot command. Once reset, it will stop at the -> prompt
6. Enter the following commands at the -> prompt.
-> kernelTimeSlice 5
-> javaConfig
-> javaClassPathSet "/sc/flash/lib/scapp.jar:/sc/flash/lib/jdmkrt.jar"
-> javaLoadLibraryPathSet "/sc/flash"
-> java "-Djava.compiler=NONE -Dline.separator=
sun.serengeti.cli.Password"
7. Wait for the following messages to display: (Your prompt will come back right away, but it will take about ten seconds for these messages to show up.)
Clearing SC Platform password...
Done. Reboot System Controller.
8. After the preceding messages display, restore the bootflags to the original value using the setBootFlags() command. (Use the value returned from Step Four of this procedure.)
-> setBootFlags(0xd)
1.    Reboot the SC using CONTROL-X or the reboot command. Once rebooted, the platform administrator's password will be cleared.


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/6109/showart_28090.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP