Skip to content

Commit d2e9a87

Browse files
committed
fix(security): drop accidental service.ts tip merge from ACL pivot
Keep the PR scoped to the timeout-memo + ADMIN_AUTH_TOKEN escape; restore service/winsw to the prior tip minus only the unverified-ACL bake.
1 parent 2b8c82c commit d2e9a87

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

src/lib/winsw.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -172,12 +172,6 @@ function runWinsw(args: string[]): string {
172172

173173
/** `install /p` prompts for the service-account password on the console — stdin must be inherited. */
174174
function runWinswInteractive(args: string[]): void {
175-
if (!process.stdin.isTTY) {
176-
throw new Error(
177-
"WinSW install requires an interactive console to prompt for the service account password. "
178-
+ "Run `ocx service install --native` from an elevated Command Prompt or PowerShell window, not a hidden or piped session.",
179-
);
180-
}
181175
execFileSync(winswExePath(), args, { stdio: "inherit" });
182176
}
183177

0 commit comments

Comments
 (0)