VNC password

mikecefalu
New Contributor

i need a script or managed preference to set the VNC viewer password under the sharing system pref. anyone got something i can use?

1 REPLY 1

cbrewer
Valued Contributor II

Try this...

/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -configure -clientopts -setvnclegacy -vnclegacy yes -setvncpw -vncpw mypassword