Re: [sabayon] Applying profiles to members of a group
- From: Alexander Larsson <alexl redhat com>
- To: Sayamindu Dasgupta <sayamindu randomink org>
- Cc: sabayon-list gnome org
- Subject: Re: [sabayon] Applying profiles to members of a group
- Date: Fri, 19 Jan 2007 09:32:11 +0100
On Fri, 2007-01-19 at 12:19 +0530, Sayamindu Dasgupta wrote:
> Hi all,
>
> I attached the first iteration of a small script that applies a
> profile to the members of a given group.
> You can run it like
>
> sabayon4grps.py <groupname> <profilename>
>
> I've also pasted the code into http://live.gnome.org/PythonSabayon
In general, it seems to make more sense to do things like this at login.
I.E. look at what groups the user is in and how they map to a profile,
then apply that profile. This way you don't have to rerun some script
each time group membership changes.
You can do this with the sabayon ldap support even. There is an example
at:
http://www.gnome.org/projects/sabayon/ldap.html
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl redhat com alla lysator liu se
He's a scrappy voodoo senator with a secret. She's a cosmopolitan insomniac
snake charmer who dreams of becoming Elvis. They fight crime!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]