> http://www.opensolaris.org/os/community/desktop/commun
> ities/jds/building/#jds-cbe
> 
> [i]You don't need root access for installing the CBE
> or building GNOME, but the build user needs to have
> the 'Software Installation' profile for installing
> the packages that the JDS CBE creates. In a typical
> case, you need to add the following profile to
> /etc/user_attr -
> 
> 
>        jdsuser::::profiles=Software Installation
> ]

Building and installing packages as the jdsuser works fine. What does not work 
is the install-jds
script downloaded with vermillion. It is hardcoded within the script to check 
for "root". It just struck
me as inconsistant.

Doug

init () {
    USER_IS_ROOT=0
    /usr/bin/id | /usr/bin/grep '^uid=0(' > /dev/null 2>&1

    if [ $? != 0 ]; then
        msg_fatal "Only root can install this product."
    fi

    if [ $FORCE = no ]; then
        trap clean_up_and_abort  HUP INT TERM
    else
        trap clean_up_and_abort  HUP INT TERM ERR
    fi

    trap clean_up  QUIT EXIT
}
 
 
This message posted from opensolaris.org

Reply via email to