Missing default groups for user created on install

Bug #339164 reported by Martin
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
user-setup (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Binary package hint: gnome-system-tools

I did a fresh jaunty installation with all updates up to today.

Now I create a second User "testuser" with users-admin and I select "Administrator" as profile. Now the new user is in the following groups:
testuser adm dialout fax cdrom floppy tape audio dip video plugdev fuse lpadmin admin sambashare

My main user "martin", that has been created during the installation, is in these groups:
martin adm dialout cdrom plugdev lpadmin admin sambashare

As you see the new user is in more groups than the default user, which doesn't seem to be necessary as my main user apparently has enough rights to do everything. This is confusing as the average user doesn't know in which groups a "normal" user has to be. I think the set of groups in which the default user is should be synced which newly created users by users-admin.

The set of groups in the "Desktop" Profile is also different from the default setup.
The version of gnome-system-tools is 2.22.1-0ubuntu3

Revision history for this message
Andrew Barbaccia (andrew-barbaccia) wrote :

I have a recent Jaunty alpha and am experiencing something similar. The main (only) user on my system is no longer part of groups required for normal desktop operation (audio, fuse, video, etc).

Because of this I was experiencing many errors / warnings like this:

andrew-desktop pulseaudio[9291]: main.c: For enabling real-time/high-priority scheduling please acquire the appropriate PolicyKit privileges, or become a member of 'pulse-rt', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.
andrew-desktop pulseaudio[9294]: cpulimit.c: Received request to terminate due to CPU overload.

Also, flash videos would spike the CPU from the PulseAudio / firefox processes and lose sound and sometimes video.

Is an additional bug required for pulseaudio as well?

Revision history for this message
Milan Bouchet-Valat (nalimilan) wrote :

That's a problem with the installer that does not add the user to all the privilege groups used in Ubuntu. Have a look at /etc/gnome-system-tools/profiles for a list of them.

affects: gnome-system-tools (Ubuntu) → user-setup (Ubuntu)
Changed in user-setup (Ubuntu):
importance: Undecided → Low
summary: - [users-admin] default groups for new user
+ Missing default groups for user created on install
Revision history for this message
Hans L (thehans) wrote :

This problem caused me quite a headache trying to sort out poor graphics performance issues I was experiencing. I wasted a lot of time trying different video drivers and configurations until I realized that glx gears was reporting that it could not access /dev/nvidiactl, which is in the video group. I added my user to the group and now my video performance is great. This is the only user I have on the system, and was created during install.

Changed in user-setup (Ubuntu):
status: New → Triaged
importance: Low → Medium
Revision history for this message
jhansonxi (jhansonxi) wrote :

Ubuntu 10.04 (Lucid Lynx) i386
/etc/gnome-system-tools/user-profiles.conf:

[Desktop]
Groups=cdrom,floppy,dialout,tape,dip,adm,plugdev,fax,fuse,video
[Administrator]
Groups=cdrom,floppy,dialout,tape,dip,adm,plugdev,fax,fuse,admin,sambashare,lpadmin,video

Default install user is "administrator" and "test1" is created by users-admin after installation.

grep test1 /etc/group | grep -v administrator

fax:x:21:test1
floppy:x:25:test1
tape:x:26:test1
dip:x:30:test1
video:x:44:test1
fuse:x:107:test1
test1:x:1001:

Other:
I noticed in syslog (attached) the following error amongst the user-setup messages but I don't know if it is relevant:

finish-install: sh: argument expected

Revision history for this message
Milan Bouchet-Valat (nalimilan) wrote :

These groups are obsolete (or mostly), so I'm not sure what would be best here. Since they still exist, I think it makes sense to add admins to them, but we could also stop doing this in users-admin. How do Ubiquity devs fell about that?

Revision history for this message
jhansonxi (jhansonxi) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.