Displaying 3 results from an estimated 3 matches for "yyyymdd".
Did you mean:
yyyymmdd
2019 Mar 13
5
read permission on rotated logs
When logs (e.g. /var/log/maillog) are rotated (e.g. to
/var/log/maillog-YYYYMDD) is there a way via systemd or whatever to
assign read permission to a specific group?
Right now, for example -
ls -l maillog*
-rw------- 1 root root 3105240 Mar 13 22:04 maillog
-rw------- 1 root root 1079031 Feb 24 04:39 maillog-20190224
-rw------- 1 root root 7237640 Mar 1 12:59 maillog-2019...
2019 Mar 14
0
read permission on rotated logs
On 3/13/19 11:13 PM, Alice Wonder wrote:
> When logs (e.g. /var/log/maillog) are rotated (e.g. to
> /var/log/maillog-YYYYMDD) is there a way via systemd or whatever to
> assign read permission to a specific group?
Add the following line to /etc/logrotate.d/syslog, e.g. after sharedscripts:
create 640 root somegroup
--
Mogens Kjaer, mk at lemo.dk
http://www.lemo.dk
2019 Mar 14
0
read permission on rotated logs
...entOS <centos-bounces at centos.org> on behalf of Alice Wonder <alice at domblogger.net>
Sent: Wednesday, March 13, 2019 5:13 PM
To: centos at centos.org
Subject: [EXTERNAL] [CentOS] read permission on rotated logs
When logs (e.g. /var/log/maillog) are rotated (e.g. to
/var/log/maillog-YYYYMDD) is there a way via systemd or whatever to
assign read permission to a specific group?
Right now, for example -
ls -l maillog*
-rw------- 1 root root 3105240 Mar 13 22:04 maillog
-rw------- 1 root root 1079031 Feb 24 04:39 maillog-20190224
-rw------- 1 root root 7237640 Mar 1 12:59 maillog-20190...