mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-31 01:35:11 +02:00
parent
fdb2b110b7
commit
f8371cf5c6
@ -272,6 +272,7 @@ sc.exe config sshd obj= $sshdAccount
|
|||||||
sc.exe privs sshd SeAssignPrimaryTokenPrivilege
|
sc.exe privs sshd SeAssignPrimaryTokenPrivilege
|
||||||
|
|
||||||
Add-Privilege -Account $sshdSid -Privilege SeAssignPrimaryTokenPrivilege
|
Add-Privilege -Account $sshdSid -Privilege SeAssignPrimaryTokenPrivilege
|
||||||
|
Add-Privilege -Account $sshdSid -Privilege SeServiceLogonRight
|
||||||
|
|
||||||
if(-not (test-path $logsdir -PathType Container))
|
if(-not (test-path $logsdir -PathType Container))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user