diff options
author | zi <zi@FreeBSD.org> | 2013-07-14 21:49:06 +0800 |
---|---|---|
committer | zi <zi@FreeBSD.org> | 2013-07-14 21:49:06 +0800 |
commit | c80795153bf202628be0d09ca8e03d417300689f (patch) | |
tree | 171a5b1172b6fbd36c1dd2ae2204d0fbe398f86b /security | |
parent | 208d248f8f5ea0b49db6495e03a16ba81669493b (diff) | |
download | freebsd-ports-gnome-c80795153bf202628be0d09ca8e03d417300689f.tar.gz freebsd-ports-gnome-c80795153bf202628be0d09ca8e03d417300689f.tar.zst freebsd-ports-gnome-c80795153bf202628be0d09ca8e03d417300689f.zip |
- Clarify instructions for auditdistd configuration
Diffstat (limited to 'security')
-rw-r--r-- | security/openbsm-devel/files/pkg-message.in | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/security/openbsm-devel/files/pkg-message.in b/security/openbsm-devel/files/pkg-message.in index 688c6845c555..73a7b2833c58 100644 --- a/security/openbsm-devel/files/pkg-message.in +++ b/security/openbsm-devel/files/pkg-message.in @@ -28,9 +28,10 @@ receiver { } } -5. Update permissions on the auditdistd configuration file: +5. Update permissions on the auditdistd configuration file and create directory: # chmod 600 /etc/security/auditdistd.conf # chown root:wheel /etc/security/auditdistd.conf +# mkdir -m 700 /var/audit/remote ; chown auditdistd:wheel /var/audit/remote 6. Add the following to /etc/rc.conf: auditdistd_enable="YES" @@ -56,13 +57,16 @@ dist:on 4. Create /etc/security/auditdistd.conf configuration file: sender { host "<enter hostname of receiver here>" { - remote "tls://<enter IP of the receiver here>" - fingerprint "SHA256=8F:0A:FC:8A:3D:09:80:AF:D9:AA:38:CC:8A:86:..." - password "<enter password generated above here>" + remote "tls://<enter IP of the receiver here>" + fingerprint "SHA256=8F:0A:FC:8A:3D:09:80:AF:D9:AA:38:CC:8A:86:..." + password "<enter password generated above here>" } } -4. Start the required daemons: +5. Create the required directories: +# mkdir -m 0770 /var/audit/dist ; chown auditdistd:audit /var/audit/dist + +6. Start the required daemons: service auditd start && service auditdistd start Additional information regarding auditdistd may be found on the OpenBSM wiki: |