Changeset 41367 in vbox for trunk/src/VBox/Installer
- Timestamp:
- May 21, 2012 1:03:55 PM (13 years ago)
- Location:
- trunk/src/VBox/Installer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/linux/vboxweb-service.sh.in
r41366 r41367 312 312 # set authentication method + password hash 313 313 if [ -n "$VBOXWEB_AUTH_LIBRARY" ]; then 314 vboxmanage setproperty websrvauthlibrary $VBOXWEB_AUTH_LIBRARY314 exec su - "$VBOXWEB_USER" -c "$vboxmanage setproperty websrvauthlibrary \"$VBOXWEB_AUTH_LIBRARY\"" 315 315 if [ $? -ne 0 ]; then 316 316 fail_msg "Error $? setting webservice authentication library to $VBOXWEB_AUTH_LIBRARY" … … 318 318 fi 319 319 if [ -n "$VBOXWEB_AUTH_PWHASH" ]; then 320 vboxmanage setextradata global VBoxAuthSimple/users/$VBOXWEB_USER $VBOXWEB_AUTH_PWHASH320 exec su - "$VBOXWEB_USER" -c "$vboxmanage setextradata global \"VBoxAuthSimple/users/$VBOXWEB_USER\" \"$VBOXWEB_AUTH_PWHASH\"" 321 321 if [ $? -ne 0 ]; then 322 322 fail_msg "Error $? setting webservice password hash" -
trunk/src/VBox/Installer/solaris/smf-vboxwebsrv.sh
r41365 r41367 102 102 # Set authentication method + password hash 103 103 if [ -n "$VW_AUTH_LIBRARY" ]; then 104 exec /opt/VirtualBox/VBoxManage setproperty websrvauthlibrary $VW_AUTH_LIBRARY104 exec 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 exec /opt/VirtualBox/VBoxManage setextradata global VBoxAuthSimple/users/$VW_USER $VW_AUTH_PWHASH110 exec 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.