SUMMARY When adding a new user as Administrator via System Settings, the new user is only added to "sudo" and "username of the new user" groups and not to other default groups such as lpadmin (for printer management), plugdev, cdrom, etc. which are the default groups set to the first "admin" user created when installing the system. This means those new users cannot, for example, manage printers. STEPS TO REPRODUCE 1. Create a new user via KCM (Open KCM > Users > Add New User), choose Administrator as the Account Type 2. Check the groups the new user was added to (Command: groups "username of the new user" OBSERVED RESULT Groups are : "sudo" and "username of the new user" EXPECTED RESULT "sudo" "username of the new user" "lpadmin" "cdrom", etc. SOFTWARE/OS VERSIONS Operating System: KDE neon 5.20 KDE Plasma Version: 5.20.5 KDE Frameworks Version: 5.78.0 Qt Version: 5.15.2 Kernel Version: 5.8.0-41-generic OS Type: 64-bit Processors: 8 × Intel® Core™ i5-8350U CPU @ 1.70GHz Memory: 15.4 GiB of RAM Graphics Processor: Mesa Intel® UHD Graphics 620
Hardcoding a list of groups at a KDE level would be wrong. It can be configured at build-time of AccountsService passing >meson_options.txt:option('extra_admin_groups', type: 'array', value: [], description: 'Comma-separated list of extra groups that administrator users are part of') Which should be set by your distribution. Please report there if it's wrong. For full control of groups see attached wishlist. *** This bug has been marked as a duplicate of bug 365787 ***
(In reply to David Edmundson from comment #1) > Hardcoding a list of groups at a KDE level would be wrong. Of course, that would be wrong indeed :) Sorry for not having thought of that. Thanks for the explanation. > Which should be set by your distribution. Please report there if it's wrong. Ok so could I just move this bug report under the "neon" category and remove the duplicate status? > For full control of groups see attached wishlist. > > *** This bug has been marked as a duplicate of bug 365787 *** Well that's exactly where I'd come from and it is the discussion there (with Nate) that led to this bug report!
I think David's point is: > Which should be set by your distribution. Please report there if it's wrong. Since your distro is Neon, let's move this there.
(In reply to Nate Graham from comment #3) > I think David's point is: > > > Which should be set by your distribution. Please report there if it's wrong. > Since your distro is Neon, let's move this there. Yep that's what I meant in my previous comment: > Which should be set by your distribution. Please report there if it's wrong. > > Ok so could I just move this bug report under the "neon" category and remove the duplicate status? Thanks for doing it.