Changeset 41369 in vbox for trunk/src/VBox/Installer/solaris
- Timestamp:
- May 21, 2012 1:33:10 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/solaris/smf-vboxwebsrv.sh
r41367 r41369 54 54 VW_SSL_RANDFILE=`/usr/bin/svcprop -p config/ssl_randfile $SMF_FMRI 2>/dev/null` 55 55 [ $? != 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` 57 57 [ $? != 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` 59 59 [ $? != 0 ] && VW_AUTH_PWHASH= 60 60 VW_TIMEOUT=`/usr/bin/svcprop -p config/timeout $SMF_FMRI 2>/dev/null` … … 102 102 # Set authentication method + password hash 103 103 if [ -n "$VW_AUTH_LIBRARY" ]; then 104 execsu - "$VW_USER" -c "/opt/VirtualBox/VBoxManage setproperty websrvauthlibrary \"$VW_AUTH_LIBRARY\""104 su - "$VW_USER" -c "/opt/VirtualBox/VBoxManage setproperty websrvauthlibrary \"$VW_AUTH_LIBRARY\"" 105 105 if [ $? != 0 ]; then 106 106 echo "Error $? setting webservice authentication library to $VW_AUTH_LIBRARY" … … 108 108 fi 109 109 if [ -n "$VW_AUTH_PWHASH" ]; then 110 execsu - "$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\"" 111 111 if [ $? != 0 ]; then 112 112 echo "Error $? setting webservice password hash"
Note:
See TracChangeset
for help on using the changeset viewer.