- 论坛徽章:
- 0
|
今天有朋友问我丢失4800的SC密码怎么破解,我想了想还真没有做过,于是在google论坛上找了一篇文章,先记下来,等朋友试完再评价
Abe Lopez wrote:
> Does anyone know how I can reset an existing Platform password on a
> 3800? We just got a new one, which has been apparantly been used before.
> Any help would be appreciated!
Note to those who thought this was OS related, this deals with the SC
Platform for the new SunFire mid-range servers (3800, 4800, 6800). This
level of operation is like 2 levels before the OS loads.
I found the answer, thought I'd share if anyone was curious.
This is for the platform controler (SC0) on a SunFire 3800
1. Reboot
2. During the first 30 seconds after boot, hit Control+A, this will get you
a RTOS promt
3. When you get the --> prompt, get the current boot settings..
--> getBootFlags()
Save this hex number for later
4. Change the boot settings to disable autoboot
--> setBootFlags(0x10)
5. reboot by pressing Control+X
Now for the fun stuff
6. Reset the SC Platform password
--> kernelTimeSlice 5
--> javaConfig
--> javaClassPathSet "/sc/flash/lib/scapp.jar:/sc/flash/lib/jdmkrt.jar"
--> javaLoadLibraryPathSet "/sc/flash"
--> java "-Djava.compiler=NONE -Dline.separator=\r\n
sun.serengeti.cli.Password"
The last command will produce output of "Cleared SC Platform Password..."
7. restore boot flags with number saved from step 3
--> setBootFlags(0xc)
8. Reboot and set a new password
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/6098/showart_67651.html |
|