Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


centos_openldap_audit_log

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
centos_openldap_audit_log [2015/09/15 11:54] – [configure log rotate] admincentos_openldap_audit_log [2021/10/09 15:14] (current) – external edit 127.0.0.1
Line 1: Line 1:
 {{tag>[centos7 linux ldap openldap security audit log]}} {{tag>[centos7 linux ldap openldap security audit log]}}
-~~TOC~~ 
    
 =====CentOS 7 - OpenLDAP 2.4 audit log===== =====CentOS 7 - OpenLDAP 2.4 audit log=====
Line 24: Line 23:
 olcAuditlogFile: /var/log/slapd/auditlog.log olcAuditlogFile: /var/log/slapd/auditlog.log
 EOF</code> EOF</code>
-====configure log rotate====+====Configure log rotate====
   * Configure log rotate, create the following file /etc/logrotate.d/slapd-audit:<code># vim /etc/logrotate.d/slapd-audit   * Configure log rotate, create the following file /etc/logrotate.d/slapd-audit:<code># vim /etc/logrotate.d/slapd-audit
 /var/log/slapd/auditlog.log { /var/log/slapd/auditlog.log {
centos_openldap_audit_log.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1