Score:0

what is the default value in logrotate.conf

cn flag

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 avatar
cn flag
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?
cn flag
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 ??
Pilot6 avatar
cn flag
What are "some" versions that you mention? Where did you find `logrotate.config`?
cn flag
in ubuntu 18 it's su root syslog .... in ubuntu 20.04 it's su root adm
Pilot6 avatar
cn flag
So you have an answer.
Score:0
cn flag

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.

cn flag
i want to make sure about it .... second point why it is different ?
Pilot6 avatar
cn flag
I have no idea why. It is either an upstream change of the `logrotate` package, or an Ubuntu change.
Paul avatar
us flag
It is an Ubuntu change. This user asked the same question in Server Fault and I [answered it there](https://serverfault.com/a/1083548/153188).
cn flag
yes ... thank you
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.