1
  • 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).
  • I created a default user while installing with its GUI called test (full name Test). The system thus created a UPG called test.
  • 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... user test is not member of group test!

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...

DJCrashdummy
  • 1,922

0 Answers0