VirtualBox

Changeset 41369 in vbox for trunk/src/VBox/Installer


Ignore:
Timestamp:
May 21, 2012 1:33:10 PM (13 years ago)
Author:
vboxsync
Message:

Linux/Solaris installers: Bugfixes.

Location:
trunk/src/VBox/Installer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/linux/vboxweb-service.sh.in

    r41367 r41369  
    312312        # set authentication method + password hash
    313313        if [ -n "$VBOXWEB_AUTH_LIBRARY" ]; then
    314             exec su - "$VBOXWEB_USER" -c "$vboxmanage setproperty websrvauthlibrary \"$VBOXWEB_AUTH_LIBRARY\""
     314            su - "$VBOXWEB_USER" -c "$vboxmanage setproperty websrvauthlibrary \"$VBOXWEB_AUTH_LIBRARY\""
    315315            if [ $? -ne 0 ]; then
    316316                fail_msg "Error $? setting webservice authentication library to $VBOXWEB_AUTH_LIBRARY"
     
    318318        fi
    319319        if [ -n "$VBOXWEB_AUTH_PWHASH" ]; then
    320             exec su - "$VBOXWEB_USER" -c "$vboxmanage setextradata global \"VBoxAuthSimple/users/$VBOXWEB_USER\" \"$VBOXWEB_AUTH_PWHASH\""
     320            su - "$VBOXWEB_USER" -c "$vboxmanage setextradata global \"VBoxAuthSimple/users/$VBOXWEB_USER\" \"$VBOXWEB_AUTH_PWHASH\""
    321321            if [ $? -ne 0 ]; then
    322322                fail_msg "Error $? setting webservice password hash"
  • trunk/src/VBox/Installer/solaris/smf-vboxwebsrv.sh

    r41367 r41369  
    5454        VW_SSL_RANDFILE=`/usr/bin/svcprop -p config/ssl_randfile $SMF_FMRI 2>/dev/null`
    5555        [ $? != 0 ] && VW_SSL_RANDFILE=
    56         VW_AUTH_LIBRARY=`/usr/bin/svcprop -p config/auth_library 2>/dev/null`
     56        VW_AUTH_LIBRARY=`/usr/bin/svcprop -p config/auth_library $SMF_FMRI 2>/dev/null`
    5757        [ $? != 0 ] && VW_AUTH_LIBRARY=
    58         VW_AUTH_PWHASH=`/usr/bin/svcprop -p config/auth_pwhash 2>/dev/null`
     58        VW_AUTH_PWHASH=`/usr/bin/svcprop -p config/auth_pwhash $SMF_FMRI 2>/dev/null`
    5959        [ $? != 0 ] && VW_AUTH_PWHASH=
    6060        VW_TIMEOUT=`/usr/bin/svcprop -p config/timeout $SMF_FMRI 2>/dev/null`
     
    102102        # Set authentication method + password hash
    103103        if [ -n "$VW_AUTH_LIBRARY" ]; then
    104             exec su - "$VW_USER" -c "/opt/VirtualBox/VBoxManage setproperty websrvauthlibrary \"$VW_AUTH_LIBRARY\""
     104            su - "$VW_USER" -c "/opt/VirtualBox/VBoxManage setproperty websrvauthlibrary \"$VW_AUTH_LIBRARY\""
    105105            if [ $? != 0 ]; then
    106106                echo "Error $? setting webservice authentication library to $VW_AUTH_LIBRARY"
     
    108108        fi
    109109        if [ -n "$VW_AUTH_PWHASH" ]; then
    110             exec su - "$VW_USER" -c "/opt/VirtualBox/VBoxManage setextradata global \"VBoxAuthSimple/users/$VW_USER\" \"$VW_AUTH_PWHASH\""
     110            su - "$VW_USER" -c "/opt/VirtualBox/VBoxManage setextradata global \"VBoxAuthSimple/users/$VW_USER\" \"$VW_AUTH_PWHASH\""
    111111            if [ $? != 0 ]; then
    112112                echo "Error $? setting webservice password hash"
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette