免费注册 查看新帖 |

Chinaunix

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

请问,如何察看外部主机或终端登陆到本地主机上的历史访问纪录 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-06-29 14:30 |只看该作者 |倒序浏览
请问,如何察看外部主机或终端登陆到本地主机上的历史访问纪录?
谢谢

论坛徽章:
0
2 [报告]
发表于 2003-06-30 03:56 |只看该作者

请问,如何察看外部主机或终端登陆到本地主机上的历史访问纪录

You can use \"last\" command.

If you just want limit the report to number of lines or recent records.
You can type \" last -100\".
The 100 recent records will be printed out.

论坛徽章:
0
3 [报告]
发表于 2003-06-30 09:11 |只看该作者

请问,如何察看外部主机或终端登陆到本地主机上的历史访问纪录

You can use \"last\" command.

If you just want limit the report to number of lines or recent records.
You can type \" last -100\".
The 100 recent records will be printed out.


但如果想要知道登陆者的IP呢? 怎么做?

论坛徽章:
0
4 [报告]
发表于 2003-06-30 10:21 |只看该作者

请问,如何察看外部主机或终端登陆到本地主机上的历史访问纪录

非常感谢两位老兄的回复,兄弟还有点不明白如何察看IP及如何察看他们的具体操作.谢谢

论坛徽章:
0
5 [报告]
发表于 2003-06-30 22:52 |只看该作者

请问,如何察看外部主机或终端登陆到本地主机上的历史访问纪录

\'last\' command to access /var/tmp/wtmp (login database file).
\'lastb\' command to access /var/tmp/btmp (bad login database file)
But these files only contain brief information about login and logout.
If you want to view the detailed operation one user does in one system, I am afraid you have to use \'Audit\' sub-system of HPUX, which will record every operation every user manipulates. But at the same time it has some impact to your performance so most users do not choose to use it.
I never use it so I can not help you more.
Perhaps you can search some materials about it from HP\'s website.

论坛徽章:
0
6 [报告]
发表于 2003-07-03 10:59 |只看该作者

请问,如何察看外部主机或终端登陆到本地主机上的历史访问纪录

好象命令在 solaris 是可以显示ip地址的
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP