免费注册 查看新帖 |

Chinaunix

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

从os查看mp的ip以及rp7400通过主机访问gsp的2个小技巧 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-07-07 21:39 |只看该作者 |倒序浏览
本帖最后由 hp-ux民工 于 2010-07-07 21:41 编辑

查看mp的ip
#/opt/sfm/bin/CIMUtil -e root/cimv2 HP_ManagementProcessor



Accessing Guardian Service Processor Internal Port
The Guardian Service Processor (GSP) internal port can be used as a “back door” to reset security options in
case the GSP administrator password is forgotten, for example. It can also be used in order to upgrade the
GSP firmware from an HP-UX session. The internal port needs to be configured in order to use it.
NOTE Updating the Guardian Service Processor via the Internal Port is not supported on the HP
e3000 server.
1. On the system, the GSP internal port should be /dev/tty1p0.
2. SAM does not configure the GSP internal port.
3. If the device file is not present, it can be created as follows:
#cd/dev
#mknod tty1p0 c 1 0x010000
4. Since this allows unrestricted access to the GSP and bypasses GSP security features (no user or password
required). Make sure to delete this device file when you have finished using it.
5. The internal port can be accessed via terminal emulators such as cu. To use cu, you need the follow
entries (the entries must be exactly as shown):
/usr/lib/uucp/Systems needs the following entry:
gspiport Any;5 gspiport,f900 - ‘‘‘‘\r\d\r\d\r ogin:-BREAKogin:
uucp asswrd: uucp-BREAK-ogin: uucp asswrd: uucp
The spelling looks unusual, but it needs to be exactly as shown.
/usr/lib/uucp/Devices needs the following entry:
gspiport tty1p0 - 9600 direct
6. when all of the configuration is done, you should be able to access the GSP internal port with the cu
command:
cu-1/dev/tty1p0
7. To terminate the cu session, use “~.” [return]
8. Kermit can also be used to access the special device file. See the kermit web pages for details.
CAUTION Securing the /dev/tty1p0 device file with root capabilities will not prevent non-root users from
accessing the GSP internal port. This is due to the fact that cu and kermit carry root access and
run with the sticky bit enabled.
To secure the internal port from unauthorized use, be sure to remove the /dev/tty1p0 file after
using it.

论坛徽章:
48
15-16赛季CBA联赛之青岛
日期:2021-01-07 13:41:2315-16赛季CBA联赛之上海
日期:2020-12-01 18:02:0720周年集字徽章-20	
日期:2020-10-28 14:14:2620周年集字徽章-20	
日期:2020-10-28 14:04:3015-16赛季CBA联赛之天津
日期:2020-10-18 22:51:412016猴年福章徽章
日期:2016-02-18 15:30:3415-16赛季CBA联赛之北控
日期:2015-12-22 13:30:48操作系统版块每日发帖之星
日期:2015-12-07 06:20:00操作系统版块每日发帖之星
日期:2015-09-04 06:20:002015亚冠之德黑兰石油
日期:2015-08-05 18:46:082015年亚洲杯之巴勒斯坦
日期:2015-04-19 10:42:502015年亚洲杯之巴林
日期:2015-04-09 08:03:23
2 [报告]
发表于 2010-07-08 08:45 |只看该作者
第2种方法我没有用过,但是第一种方法有限制的,对SFM的版本有要求~~

论坛徽章:
10
处女座
日期:2015-01-22 16:08:50技术图书徽章
日期:2018-09-13 11:25:52技术图书徽章
日期:2018-09-13 11:25:45技术图书徽章
日期:2018-09-13 11:25:37技术图书徽章
日期:2018-09-13 11:25:29黑曼巴
日期:2018-06-04 09:03:192017金鸡报晓
日期:2017-01-10 15:19:56极客徽章
日期:2016-12-07 14:03:402015年迎新春徽章
日期:2015-03-04 09:50:28技术图书徽章
日期:2018-09-13 11:26:01
3 [报告]
发表于 2010-07-11 15:49 |只看该作者
先收下。改天有机会测试一把

论坛徽章:
0
4 [报告]
发表于 2010-07-15 13:54 |只看该作者
Host is the warm-hearted,Thanks fro you sharing!

论坛徽章:
0
5 [报告]
发表于 2010-07-22 10:57 |只看该作者
收下了。谢谢。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP