免费注册 查看新帖 |

Chinaunix

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

ps 命令无法执行 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-01-20 16:57 |只看该作者 |倒序浏览
ps 命令无法执行:
ps -aux 执行后显示:
Bus error
怎么回事?文件被替换了?

论坛徽章:
0
2 [报告]
发表于 2006-01-22 21:57 |只看该作者
possible. It could be due to H/W issues as well.

论坛徽章:
0
3 [报告]
发表于 2006-01-23 08:03 |只看该作者
ps命令和H/W有关系?

论坛徽章:
0
4 [报告]
发表于 2006-01-23 08:51 |只看该作者
Bus error - usually indicates a H/W issue.

If your O.S. supports rpm, then you may verify whether "ps" is modified in the way as the following:
[root@sea root]# type ps
ps is /bin/ps
[root@sea root]# rpm -qf /bin/ps
procps-2.0.17-10
[root@sea root]# rpm --verify procps-2.0.17-10
SM5....T   /bin/ps


( I copied another file to /bin/ps purposely; if "ps" not modified, "rpm -verify" outputs nothing)

论坛徽章:
0
5 [报告]
发表于 2006-01-23 09:24 |只看该作者
我的ps验证:
rpm --verify procps-2.0.11-6
SM5..UG.   /bin/ps
SM5..UG.   /usr/bin/top

论坛徽章:
0
6 [报告]
发表于 2006-01-23 09:26 |只看该作者

硬件措,无法链接

硬件措,无法链接之类

论坛徽章:
0
7 [报告]
发表于 2006-01-23 10:20 |只看该作者
我找到了procps-2.0.11-6安装文件,请问怎么替换机器里的文件呢?

论坛徽章:
0
8 [报告]
发表于 2006-01-23 10:27 |只看该作者
try "rpm -ivh --force procps-2.0.11-6.XXX.rpm"

论坛徽章:
0
9 [报告]
发表于 2006-01-23 10:39 |只看该作者
已经安装好了,ps查看一下有2个进程以前没见过:
root      3298  0.0  0.0  1856  628 ?        S    Jan20   0:00 /sbin/ttyload -q
root      3300  0.0  0.0  1504  532 ?        S    Jan20   0:00 ttymon tymon
有问题?

论坛徽章:
0
10 [报告]
发表于 2006-01-23 11:08 |只看该作者
your system is likely hacked.

1. verify your system:

# for i in `rpm -qa`; do rpm --verify  $i ; done >> /tmp/verification

If some other commands are replaced, I can say you have been hacked.

2. if hacked, kill the 2 daemons at first; or, shut down the system.

3. reinstall your O.S. + the latest updates from the vendor (e.g., Redhat)

4. harden your O.S. (.e.g., disable/stop/remove all necessary network services); run nesus ( a security tool) to find out any security vernerabilities and fix them.

5. verify your other systems with "for i in `rpm -qa`; do rpm --verify  $i ; done >> /tmp/verification". repeat the above steps.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP