Skip to content

Commit 4e8b784

Browse files
authored
Grant the buildkite user admin access (#1525)
Fixes #1374
1 parent fb4f245 commit 4e8b784

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

buildkite/setup-windows.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@ $buildkite_username = "b"
285285
$buildkite_password = "Bu1ldk1t3"
286286
$buildkite_secure_password = ConvertTo-SecureString $buildkite_password -AsPlainText -Force
287287
New-LocalUser -Name $buildkite_username -Password $buildkite_secure_password -UserMayNotChangePassword
288+
Add-LocalGroupMember -Group "Administrators" -Member $buildkite_username
288289
Add-NTFSAccess -Path "C:\buildkite" -Account "b" -AccessRights FullControl
289290

290291
## Allow the Buildkite agent to store SSH host keys in this folder.

0 commit comments

Comments
 (0)