dotnet / dotnet/wcf

Make Self-Host service run as Local System for nightly runs and PR's

Open
#1,271 1 comment 0 reactions 0 assignees View on GitHub
Backlog infrastructure
Dominant language
C#
Stars
1.8k
Forks
576
Avg merge
6d 9h
Merged PRs (30d)
2

Description

Our nightly-build Self-Hosted services is being run as the local user, not Local System. Cross-machine testing has verified this causes problems with some authentication tests.

Proposed solution is:
1. Install PsExec.exe on the nightly build machine (and add to setup instructions for future reference)
2. Set the environment variable PSEXEC_PATH to the folder containing PsExec.exe

When this is done, the existing scripts to start the self-hosted service will run as Local System

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.