Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
gdbtek committed May 23, 2023
1 parent 672b2ad commit e29f42f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/disable-remote-management.bash
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ function main()
# Validations

checkRequireMacSystem
checkRequireRootUser

# Disable Remote Management

header 'DISABLING REMOTE MANAGEMENT'
sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -deactivate -stop
/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -deactivate -stop
}

main "${@}"

0 comments on commit e29f42f

Please sign in to comment.