Re: [sabayon] Applying profiles to members of a group

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
> <groupname> <profilename>
> I've also pasted the code into

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

 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]