- I downloaded the current iso file of Ubuntu MATE from the website.
- I did a completely fresh install of Ubuntu MATE 16.04 (specifically 16.04.5).
- the same is true for Ubuntu MATE 18.04 (specifically 18.04.1)
- and according to @mook765 also Ubuntu Studio 18.04 (Xfce) seems to be affected
- I created a default user while installing with its GUI called
test
(full name Test). The system thus created a UPG calledtest
. - after installation had finished, I restarted the system.
- Now on the completely fresh system I open System > Control Center > Users and Groups > Manage Groups.
- I look for the
test
group and press Properties, and here it is... usertest
is not member of grouptest
!
it looks like /etc/group
suggests the same: (2nd last line)
test@test ~ $ less /etc/group | grep test
adm:x:4:syslog,test
cdrom:x:24:test
sudo:x:27:test
dip:x:30:test
plugdev:x:46:test
lpadmin:x:113:test
test:x:1000:
sambashare:x:129:test
but according to how should `id` and `/etc/group` be read? the primary group of a user is only listed in /etc/passwd
and not additional in /etc/group
to avoid redundancy.
id <username>
seems to suggest a little bit different:
test@test ~ $ id test
uid=1000(test) gid=1000(test) groups=1000(test),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),113(lpadmin),129(sambashare)
the best way to proof is groups <username>
:
test@test ~ $ groups test
test : test adm cdrom sudo dip plugdev lpadmin sambashare
So is this a bug by the GUIs? - Somehow i doubt it, because of how long time it is there and also present in two well known DEs...
/etc/adduser.conf
settings (unless the account is created using lower-level means such asuseradd
) . What happens after that is up to the admin. – steeldriver Aug 27 '18 at 12:06test
is in grouptest
(the UPG) - so I guess the question should really be why the GUI users-and-groups pane said something different? – steeldriver Aug 27 '18 at 17:15id
) the membership is displayed correctly. Likely a bug in the GUI. – mook765 Aug 27 '18 at 17:49lpadmin
andsambashare
). :-/ – DJCrashdummy Aug 27 '18 at 20:25/etc/group
which afaik is normal the way you showed. It's the same in mine. The possible weirdness here is the GUI which should show the user in the group (I believeid
and you can also rungroups
I think)(Also OP is a person and it's you!) – Zanna Aug 27 '18 at 21:00/etc/groups
. When I use the GUI to add or remove myself to or from my UPG I definitely have a change in/etc/groups
but no change in the output ofid
. – mook765 Aug 28 '18 at 08:43/etc/passwd
. The GUI is probably meant to manage/etc/groups
and nothing else. I agree with you that this is confusing, in my opinion we could call it a bug. – mook765 Aug 28 '18 at 11:55