0

In /etc/logrotate.conf is user permission different between Ubuntu 20.04 and 18.04 releases?

#use the syslog group by default, since this is the owning group
#of /var/log/syslog.
su root syslog

or

#use the syslog group by default, since this is the owning group
#of /var/log/syslog.
su  root adm
Pilot6
  • 90,100
  • 91
  • 213
  • 324
  • The question is totally unclear. There is no logrotate.config file, there is /etc/logrotate.conf. So what is the question? What version of Ubuntu toy are asking about? – Pilot6 Nov 14 '21 at 20:00
  • i edited it ..... and my question is about the configuration or options included in it..... in some version it's like that # use the syslog group by default, since this is the owning group

    of /var/log/syslog.

    su root syslog but i found it in other version

    use the syslog group by default, since this is the owning group

    of /var/log/syslog.

    su root adm is that normal ??

    – User.. Nov 14 '21 at 20:07
  • What are "some" versions that you mention? Where did you find logrotate.config? – Pilot6 Nov 14 '21 at 20:29
  • in ubuntu 18 it's su root syslog .... in ubuntu 20.04 it's su root adm – User.. Nov 14 '21 at 20:44
  • So you have an answer. – Pilot6 Nov 14 '21 at 20:49

1 Answers1

0

In Ubuntu 18.04 the permissions in /etc/logrotate.conf are

su root syslog

In 20.04 it is

su root adm

You've noticed it yourself.

Pilot6
  • 90,100
  • 91
  • 213
  • 324