|
发表于 2006-1-6 10:34:27
|
显示全部楼层
刚装好freebsd我就把这个装上了
查看一下系统的vulnerbilities(安全隐患), 然后再用portupgrade 更新有安全隐患的包,是一个很有必要的日常维护工作哦
- # portaudit -F //必须更新一下数据库
- # portaudit -a //查看安全问题
- Affected package: rxvt-unicode-6.1
- Type of problem: rxvt-unicode -- restore permissions on tty devices.
- Reference: <http://www.FreeBSD.org/ports/portaudit/c2fdb3bc-7d72-11da-b96e-000fb586ba73.html>
- Affected package: samba-2.2.12_1
- Type of problem: samba -- integer overflow vulnerability.
- Reference: <http://www.FreeBSD.org/ports/portaudit/3b3676be-52e1-11d9-a9e7-0001020eed82.html>
- 2 problem(s) in your installed packages found.
- You are advised to update or deinstall the affected package(s) immediately.
- # portupgrade -r rxvt-unicode samba //升级之前必须先更新port树
复制代码
或者一次性操作
- # (升级port树)
- # portaudit | grep "Affected package:" | sed 's/Affected package\: //' | xargs portupgrade -r
- #
复制代码 |
|