Wolfgang Winkler via blfs-support
2018-10-03 11:08:28 UTC
Hi all,
I'm wondering about owner/group and permission settings of /var/log/*
During LFS 8.3 chapter 6.6 we create
btmp (root:root, 600),
lastlog (root:utmp, 664),
faillog (root:root, 644) and
wtmp (root:root, 644).
All the other basic log files (sys.log, kern,log, daemon.log, etc.) I
assume were created when syslog is run the first time and all have
ownership/permission root:root, 644.
When I install and run logrotate according to instructions in BLFS 8.3
new files after rotation will get different permissions:
wtmp will now be root:utmp, 664 and
lastlog root:sys, 664
The default setting for all other log files would be root:sys, 664
Actually there seems to be a slight inconsistency in the default create
instruction and the comment text just above (664 vs. 664).
Could please somebody point out what the default/correct log file
ownership and permission for lfs should be ?
Thanks,
Wolfgang
I'm wondering about owner/group and permission settings of /var/log/*
During LFS 8.3 chapter 6.6 we create
btmp (root:root, 600),
lastlog (root:utmp, 664),
faillog (root:root, 644) and
wtmp (root:root, 644).
All the other basic log files (sys.log, kern,log, daemon.log, etc.) I
assume were created when syslog is run the first time and all have
ownership/permission root:root, 644.
When I install and run logrotate according to instructions in BLFS 8.3
new files after rotation will get different permissions:
wtmp will now be root:utmp, 664 and
lastlog root:sys, 664
The default setting for all other log files would be root:sys, 664
Actually there seems to be a slight inconsistency in the default create
instruction and the comment text just above (664 vs. 664).
Could please somebody point out what the default/correct log file
ownership and permission for lfs should be ?
Thanks,
Wolfgang
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Uns
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Uns