version 1.3, 2007/10/09 19:19:14 |
version 1.4, 2008/01/13 22:31:25 |
|
|
|
|
You may wish to have the vulnerabilities file downloaded daily so that |
You may wish to have the vulnerabilities file downloaded daily so that |
it remains current. This may be done by adding an appropriate entry |
it remains current. This may be done by adding an appropriate entry |
to a users crontab(5) entry. For example the entry |
to a user's crontab(5) entry. For example the entry |
|
|
# download vulnerabilities file |
# download vulnerabilities file |
0 3 * * * ${PREFIX}/sbin/download-vulnerability-list >/dev/null 2>&1 |
0 3 * * * ${PREFIX}/sbin/download-vulnerability-list >/dev/null 2>&1 |
Line 19 if [ -x ${PREFIX}/sbin/audit-packages ]; |
|
Line 19 if [ -x ${PREFIX}/sbin/audit-packages ]; |
|
${PREFIX}/sbin/audit-packages |
${PREFIX}/sbin/audit-packages |
fi |
fi |
|
|
Alternatively this can also be acomplished by adding an entry to a users |
Alternatively this can also be acomplished by adding an entry to a user's |
crontab(5) file. e.g.: |
crontab(5) file. e.g.: |
|
|
# run audit-packages |
# run audit-packages |
0 3 * * * ${PREFIX}/sbin/audit-packages |
0 3 * * * ${PREFIX}/sbin/audit-packages |
|
|
audit-packages and/or download-vulnerability-list need not be run by |
audit-packages and/or download-vulnerability-list need not be run by |
the root user. They will function as an unpriveleged user just so |
the root user. They will function as an unprivileged user, as long |
long as the user chosen has permmission to write the pkg-vulnerabilites |
as the user chosen has permission to write the pkg-vulnerabilites |
to ${PKGVULNDIR}. |
to ${PKGVULNDIR}. |
|
|
A sample audit-packages.conf has been installed to: |
A sample audit-packages.conf has been installed to: |
Line 39 ${PKG_SYSCONFDIR}/audit-packages.conf. |
|
Line 39 ${PKG_SYSCONFDIR}/audit-packages.conf. |
|
If you want to use signature verification you will need to install GnuPG and |
If you want to use signature verification you will need to install GnuPG and |
set the path for GPG appropriately in your audit-packages.conf. See |
set the path for GPG appropriately in your audit-packages.conf. See |
audit-packages.conf(5) and audit-packages(8) for further information. |
audit-packages.conf(5) and audit-packages(8) for further information. |
|
|
=========================================================================== |
=========================================================================== |