LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 970|回复: 6

请问有用clamav的朋友吗,我无法运行clamdscan,这是怎么回事?谢谢

[复制链接]
发表于 2010-7-22 15:28:42 | 显示全部楼层 |阅读模式

  1. W500 ~ # clamdscan
  2. /root: lstat() failed: Permission denied. ERROR

  3. ----------- SCAN SUMMARY -----------
  4. Infected files: 0
  5. Total errors: 1
  6. Time: 0.000 sec (0 m 0 s)
复制代码
发表于 2010-7-22 15:39:16 | 显示全部楼层
Permission denied.
你把这句随便用个翻译引擎看一下就知道了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-7-22 16:43:54 | 显示全部楼层
Post by Mie;2104624
Permission denied.
你把这句随便用个翻译引擎看一下就知道了


可具体到clamav该如何做?谢谢
回复 支持 反对

使用道具 举报

发表于 2010-7-22 17:37:24 | 显示全部楼层
clamdscan - <file

=======================================

比如你想用clamdscan命令扫描一个特定的文件,文件名叫file.txt

那么执行

clamdscan - <file.txt

或者,用clamscan代替,则没有权限方面的问题。

而clamscan命令的使用很简单。

比如你想扫描一个目录下面的所有文件。以/usr/local/bin为例。

执行:

clamscan -v /usr/local/bin/
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-7-22 17:55:12 | 显示全部楼层
clamdscan
  1. Because you installed the daemon version of ClamAV, you also have the option of
  2. typing clamdscan at the terminal prompt. Press Enter, and a user named ClamAV
  3. is created. If you want ClamAV to scan system files, you can add this user to the
  4. group that owns the files you wish to scan.
复制代码
这段话看不懂。是说把用户ClamAV加入root这个组吗?谢谢
回复 支持 反对

使用道具 举报

发表于 2010-7-22 18:01:17 | 显示全部楼层
Post by waterloo2005;2104649
clamdscan

  1. Because you installed the daemon version of ClamAV, you also have the option of
  2. typing clamdscan at the terminal prompt. Press Enter, and a user named ClamAV
  3. is created. If you want ClamAV to scan system files, you can add this user to the
  4. group that owns the files you wish to scan.
复制代码

这段话看不懂。是说把用户ClamAV加入root这个组吗?谢谢


不要将其添加入root群组,虽然它建议这么做,我认为最忌的就是wheel和root这两个群组。

关于clamav扫描的问题,我前面已经回复过你了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-7-22 20:52:03 | 显示全部楼层
Post by 溺水三千;2104650
不要将其添加入root群组,虽然它建议这么做,我认为最忌的就是wheel和root这两个群组。

关于clamav扫描的问题,我前面已经回复过你了。

clamdscan- daemon version of ClamAV是不是实时防护的意思?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表