Re: [sabayon] Sabayon for RHEL 4

On Wed, 2005-12-21 at 12:41 +0100, Jehan PROCACCIA wrote:

> #
> # Apply the Sabayon profile for the current user (if any)
> #
> if [ "x$DISABLE_SABAYON_XINITRC" = "x" ] ; then
>   if [ -x /usr/sbin/sabayon-apply ] ; then
>     /usr/sbin/sabayon-apply /etc/desktop-profiles/
>   fi
> fi
> The /etc/desktop-profiles/ was generated from the 
> sabayon "admin"  interface. It is deployed on every station with the 
> wonderfull tool: cfengine ( .

This is one approach. The other approach is to call sabayon-apply with
no arguments. This will use the xml config files to look up what profile
to use for the user (given the username). The config file can be fully
local or partly on a http server, or it could reference an LDAP server
for the actual info.

Docs for how the config file works are at:

 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a scarfaced soccer-playing ex-con whom everyone believes is mad. She's a 
cold-hearted wisecracking wrestler with an evil twin sister. They fight crime! 

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]