Output from 'groups' is suddently different to /etc/group

Ralf Mardorf silver.bullet at zoho.com
Fri Jul 20 13:29:25 UTC 2018


On Fri, 20 Jul 2018 15:09:25 +0200, R. Diez via ubuntu-users wrote:
>Yes, but how would I know that the package I just installed has
>changed group membership?

Synaptic displays the same messages, as you get when installing from
command line, sometimes you even need to confirm if a group get
added, resp. if a user is add to a group. Haphazardly removing a user
from groups and/or removing groups does not happen when using an
official Ubuntu flavour, without some strange third party stuff.

What was done is logged to /var/log/apt/term.log, e.g.

[weremouse at moonstudio ~]$ grep 'Adding new user' /var/log/apt/term.log
Adding new user `usbmux' (UID 112) with group `plugdev' ...
Adding new user `postfix' (UID 114) with group `postfix' ...
[weremouse at moonstudio ~]$ grep 'Adding group' /var/log/apt/term.log
Adding group `postfix' (GID 125) ...
Adding group `postdrop' (GID 126) ...

The command used is logged to /var/log/apt/term.log, e.g.

[weremouse at moonstudio ~]$ grep 2018-07-19 -A4 /var/log/apt/history.log
Start-Date: 2018-07-19  10:34:22
Commandline: apt full-upgrade -o APT::Keep-Downloaded-Packages=1 -o APT::Color=0
Requested-By: weremouse (1000)
Upgrade: snapd:amd64 (2.32.9, 2.33.1ubuntu2), python-apt-common:amd64 (1.1.0~beta1ubuntu0.16.04.1, 1.1.0~beta1ubuntu0.16.04.2), python-apt:amd64 (1.1.0~beta1ubuntu0.16.04.1, 1.1.0~beta1ubuntu0.16.04.2), python3-apt:amd64 (1.1.0~beta1ubuntu0.16.04.1, 1.1.0~beta1ubuntu0.16.04.2)
End-Date: 2018-07-19  10:34:32

Start-Date: 2018-07-19  18:06:20
Commandline: apt full-upgrade -o APT::Keep-Downloaded-Packages=1 -o APT::Color=0
Requested-By: weremouse (1000)
Upgrade: base-files:amd64 (9.4ubuntu4.6, 9.4ubuntu4.7)
End-Date: 2018-07-19  18:06:42





More information about the ubuntu-users mailing list