免费注册 查看新帖 |

Chinaunix

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

HP-UX下用户不成功登录的日志记录在那个文件下? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-11-30 14:40 |只看该作者 |倒序浏览
用什么命令可以查看?

论坛徽章:
0
2 [报告]
发表于 2006-11-30 14:46 |只看该作者
root 用户 : strings /var/adm/btmp
普通用户  : strings /var/adm/wtmp

论坛徽章:
0
3 [报告]
发表于 2006-11-30 15:19 |只看该作者
或者用命令
last一样的

论坛徽章:
0
4 [报告]
发表于 2006-11-30 15:31 |只看该作者
谢谢!我从HP网站上查到
File utmp contains a record of all users logged onto the system.
File btmp contains bad login entries for each invalid logon attempt.
File wtmp contains a record of all logins and logouts.
好像跟你的说法有区别啊!
再贴last和lastb命令:
The last command searches backwards through the file /var/adm/wtmp (which contains a record of all logins and logouts) for information about a user, a tty, or any group of users and ttys.
The lastb command searches backwards through the database file /var/adm/btmp to display bad login information.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP