VirtualBox

Changeset 29583 in vbox for trunk/src/VBox/Additions/common


Ignore:
Timestamp:
May 17, 2010 7:41:27 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
61727
Message:

VBoxService: support executing as different user

Location:
trunk/src/VBox/Additions/common/VBoxService
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/Makefile.kmk

    r29531 r29583  
    9292        $(VBOX_LIB_VBGL_R3) \
    9393        $(VBOX_LIB_IPRT_GUEST_R3)
     94if1of ($(KBUILD_TARGET), linux)
     95 VBoxService_LIBS        += \
     96        crypt
     97endif
    9498ifdef VBOX_WITH_GUEST_PROPS
    9599 VBoxService_LIBS.win    += \
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControlExec.cpp

    r29529 r29583  
    826826                                rc = RTProcCreateEx(pData->pszCmd, pData->papszArgs, hEnv, RTPROC_FLAGS_SERVICE,
    827827                                                    phStdIn, phStdOut, phStdErr,
    828                             #ifdef RT_OS_WINDOWS
     828                            #if defined(RT_OS_WINDOWS) || defined(RT_OS_LINUX)
    829829                                                    strlen(pData->pszUser) ? pData->pszUser : NULL,
    830830                                                    strlen(pData->pszUser) && strlen(pData->pszPassword) ? pData->pszPassword : NULL,
Note: See TracChangeset for help on using the changeset viewer.

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