Mailinglist Archive: opensuse-security (109 mails)

< Previous Next >
Re: [suse-security] changing group on /var/log/messages
  • From: "Carlos E. R." <robin1.listas@xxxxxxxxxx>
  • Date: Wed, 1 Mar 2006 01:20:49 +0100 (CET)
  • Message-id: <Pine.LNX.4.61.0603010112140.11824@xxxxxxxxxxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


The Tuesday 2006-02-28 at 21:17 +0100, Philippe Vogel wrote:

> In this case you have to change some stuff, because:
>
> - logrotate rotates logs and switches rights back to what syslog is
> configured to ...
> - rights settings in SuSE with Yast will reset everything as well
> - SuSEconfig will do the same
>
> You may have to change:
>
> /etc/permissions
> /etc/logrotate.conf
> /etc/logrotate/logrotate.d/*

I have changed (for several years now) the permissions several logs to
allow the root group to have read access, and to do that you only need to
change logrotate, it's enough (in /etc/logrotate.d/syslog):

create 640 root root

the OP would need:

create 640 root wheel

- --
Cheers,
Carlos Robinson
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQFEBOjjtTMYHG2NR9URAhimAJ99YZ0zVmKNL/AWgbtB8KVvBcU/dACbBkJ8
fmKCOZKSCfJC1fIxCt+Ucu8=
=IN3A
-----END PGP SIGNATURE-----


< Previous Next >
List Navigation