forked from freebsd/freebsd-src
-
Notifications
You must be signed in to change notification settings - Fork 0
CentOS
Mateusz Piotrowski edited this page Aug 23, 2016
·
2 revisions
- http://bingobo.info/blog/recipes/how-to-set-up-static-ip-for-centos-in-virtualbox.jsp
- https://www.centos.org/docs/5/html/5.1/Deployment_Guide/s1-networkscripts-files.html
- Alternatively, check this out: http://serverfault.com/questions/753829/auditd-how-to-install-from-source-in-ubuntu.
curl -O http://people.redhat.com/sgrubb/audit/audit-2.6.5.tar.gz
gzip -d audit-2.6.5.tar.gz
tar xf audit-2.6.5.tar
cd audit-2.6.5yum install libtool tcp_wrappers-devel openldap-devel python-devel libcap-ng-devel swig
./configure --sbindir=/sbin --with-python=yes --with-libwrap --enable-gssapi-krb5=yes --with-libcap-ng=yes
make
make install- https://workonlinux.wordpress.com/2012/09/12/checking-for-libwrap-configure-error-libwrap-missing/
- How to use
yumto fix missing dependencies issues?
# Stop auditd.
service auditd stop
# Backup old logs.
mv /var/log/audit/audit.log /var/log/audit/audit2.log
# Start auditd.
service auditd start
# Check out the record starting with `type=DAEMON_START`.
# It has a field called ver which value is the auditd's version.
head /var/log/audit/audit.loghttp://www.ostechnix.com/install-linux-kernel-4-4-5-centos-ubuntu/
https://www.digitalocean.com/community/tutorials/how-to-write-custom-system-audit-rules-on-centos-7
- Add the rules to
/etc/audit/rules.d/audit.rulesto make them permanent.
- The
NOLOGvalue oflog_formatin/etc/audit/auditd.confis deprecated.