[Slackbuilds-users] atop pacct log group
Menno Duursma
druiloor at zonnet.nl
Thu Jan 17 22:29:33 UTC 2008
Hello,
i noticed the the /var/log/pacct file is rotated to group 'root'
with 640 privs, wheras the atop binary is sgid to group 'utmp'.
since the README does instruct correctly; it implys atop will fail to
use this feature after the first run of logrotate since atop package install.
(which is very probably my fault)
to fix it:
cd /var/log
chgrp utmp pacct*
and apply the following patch to /etc/atop/psacct :
2c2
< create 640 root root
---
> create 640 root utmp
Sorry 'bout the err,
-Menno.
More information about the Slackbuilds-users
mailing list