Skip to main content
Solved

20 Macs remote login

  • May 23, 2014
  • 7 replies
  • 14 views

Forum|alt.badge.img+10

I have 20 macs that I need to turn on remote management and remote login, When we gave it to the teachers I think they were turned off.

Thanks

Best answer by nmcspadden

Although I don't have a direct Casper method of doing this, there's a script to enable to remote management:

#!/bin/sh

/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -configure -allowAccessFor -specifiedUsers

/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -users "admin" -privs -all -restart -agent

exit 0

If you have a local account named "admin," this will enable ARD management for that account for all privileges. Make adjustments as necessary to accommodate your own administrative accounts.

7 replies

bentoms
Forum|alt.badge.img+35
  • Hall of Fame
  • May 23, 2014

Desk visit?

If you can't remotely connect via either, then you're out of luck.

Once done, block the sharing pref pane via MCX/Config Profiles.


Forum|alt.badge.img+5
  • New Contributor
  • Answer
  • May 23, 2014

Although I don't have a direct Casper method of doing this, there's a script to enable to remote management:

#!/bin/sh

/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -configure -allowAccessFor -specifiedUsers

/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -users "admin" -privs -all -restart -agent

exit 0

If you have a local account named "admin," this will enable ARD management for that account for all privileges. Make adjustments as necessary to accommodate your own administrative accounts.


bentoms
Forum|alt.badge.img+35
  • Hall of Fame
  • May 23, 2014

Sorry i was being stupid earlier, you should be able to run a policy to reenable. (Was thinking casper remote as that needs SSH).

I might have some knocking around i can post later.


scottb
Forum|alt.badge.img+18
  • Valued Contributor
  • May 23, 2014

In this regard, do people put in a script/LD for this sort of thing, or just deal with it as it happens?
Most users don't mess with this or know how, but I wondered (since they're all admins) if admins do that, or just lockdown the Pref Pane? We just started doing that, so it will take a while to propagate though the company.


Forum|alt.badge.img+10
  • Author
  • Valued Contributor
  • May 23, 2014

Got it guys!! THANKS!!! have a great weekend!!


Forum|alt.badge.img+7
  • Contributor
  • January 27, 2016

@EliasG

@bentoms

So what was the solution to enable it via policy?


Forum|alt.badge.img+10
  • Author
  • Valued Contributor
  • January 28, 2016

I ran the script above, it hasnt worked on all of them.