Skip to content

Commit 5330b97

Browse files
committed
add example of setting permissions to sample config
1 parent 89a8df8 commit 5330b97

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

metalog.conf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ maxsize = 1048576 # size in bytes (1048576 = 1 megabyte)
44
maxtime = 86400 # time in seconds (86400 = 1 day)
55
maxfiles = 5 # num files per directory
66

7+
# Permissions for log directories. 0750 allows group to read logs. 0700 is default.
8+
#perms = 0750
9+
710
# Format of the timestamp: YYYY-MM-DD HH:MM:SS.NNN
811
#stamp_fmt = "%F %T.%3N"
912

@@ -57,6 +60,10 @@ Password failures :
5760
logdir = "/var/log/pwdfail"
5861
# command = "/usr/local/sbin/mail_pwd_failures.sh"
5962

63+
# If you changed default permissions it may be a good idea to set more
64+
# restrictive permissions on sensitive logs.
65+
# perms = 0700
66+
6067
Kernel messages :
6168

6269
facility = "kern"

0 commit comments

Comments
 (0)