users-admin lacks support for setting up default privilege groups.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-system-tools (Ubuntu) |
Fix Released
|
Medium
|
Sivan Greenberg |
Bug Description
The patch for achiving this from warty (my martin pitt) was dropped, so a more
general solution was decided to to be implemented.
The problem: when using users-admin and adding new users, the user is set as a
memebr only to his default group ($user) while he should also be a memeber of
plugdev,cdrom,audio etc enabling him to do basic desktop operations.
So, I have worked out with Carlos Garnacho an upstream solution that can now be
used on debian as well, as they have the same set of default groups.
I have added support for this in the following way:
1) Modifying the platform guesser backend script to recognize it's on ubuntu.
(to allow for setting ubuntu's specific set of groups when no profile exists)
2) add a hardcoded list of groups, to be used when yet there are no profiles
created. this group can be easily modified when we change our default set. (or
for any other distro to change to their likings)
3) Added support for this through the frontend. (mostly in
privileges-
-->"profile privileges"
4) carlos added support for pasring the xml on the users-conf.in backend script.
The result for this should that a sysadmin would have a set of predefined
profiles per each user class he is giving access from his machine, with their
specific set of privilege groups.
All the code is now upstream, awaiting upstream release so Seb could package it
and close this bug! :-)
(In reply to comment #0) table.[ ch]) GUI::[Add user--> advanced- -->user profiles--->"add new"
> The patch for achiving this from warty (my martin pitt) was dropped, so a more
> general solution was decided to to be implemented.
>
> The problem: when using users-admin and adding new users, the user is set as a
> memebr only to his default group ($user) while he should also be a memeber of
> plugdev,cdrom,audio etc enabling him to do basic desktop operations.
>
>
> So, I have worked out with Carlos Garnacho an upstream solution that can now be
> used on debian as well, as they have the same set of default groups.
>
> I have added support for this in the following way:
> 1) Modifying the platform guesser backend script to recognize it's on ubuntu.
> (to allow for setting ubuntu's specific set of groups when no profile exists)
> 2) add a hardcoded list of groups, to be used when yet there are no profiles
> created. this group can be easily modified when we change our default set. (or
> for any other distro to change to their likings)
> 3) Added support for this through the frontend. (mostly in
> privileges-
> -->"profile privileges"
> 4) carlos added support for pasring the xml on the users-conf.in backend script.
>
>
> The result for this should that a sysadmin would have a set of predefined
> profiles per each user class he is giving access from his machine, with their
> specific set of privilege groups.
>
> All the code is now upstream, awaiting upstream release so Seb could package it
> and close this bug! :-)
New upstream version is out. Seb can you please package it?