Chinaunix首页 | 论坛 | 博客
  • 博客访问: 425491
  • 博文数量: 126
  • 博客积分: 35
  • 博客等级: 民兵
  • 技术积分: 1262
  • 用 户 组: 普通用户
  • 注册时间: 2010-03-19 16:39
文章分类

全部博文(126)

文章存档

2017年(2)

2016年(20)

2015年(64)

2014年(24)

2013年(16)

我的朋友

分类: LINUX

2015-01-14 16:17:38

cd /var/log

文件 /var/run/utmp 記錄著現在登入的用戶。

文件 /var/log/wtmp 記錄所有的登入和登出。

文件 /var/log/lastlog 記錄每個用戶最後的登入信息。

文件 /var/log/btmp 記錄錯誤的登入嘗試。

安全信息和系统登录与网络连接的信息:/var/log/secure

如何清理/var/account/pacct?
清空或删除/var/account/下的文件,然后重启审计进程:/etc/init.d/psacct  restart

参考:
linux系统/var/log目录下的信息详解
http://blog.chinaunix.net/uid-26569496-id-3199434.html

清理/var/account/pacct 
http://blog.sina.com.cn/s/blog_9a4d43d80100zqxa.html
阅读(423) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~