I have Mac Mini that I control remotely at all times as its main use is a media server with no keyboard and mouse attached..
The problem comes specially after applying security updates which need restarting, u must login with attached keyboard & mouse (locally).. I found out that even
using sudo will also work not just with FileVault but also with security updates (although Apple's site only mentions specially remote access Filevault on restart) I found that bit on OS X daily.
The problem is i must run it from Terminal... I have doe a quick bash scrip to try an automate the process, but i still must have Terminal open by userin order to execute..
Is is possible to maybe active this all automatically by a call from Applescript? I know password must be entered manually, which i don't have a problem with.... I just need the script to automatically launch Terminal first. and do script...
The problem comes specially after applying security updates which need restarting, u must login with attached keyboard & mouse (locally).. I found out that even
Code:
fdesetup authrestart
The problem is i must run it from Terminal... I have doe a quick bash scrip to try an automate the process, but i still must have Terminal open by userin order to execute..
Is is possible to maybe active this all automatically by a call from Applescript? I know password must be entered manually, which i don't have a problem with.... I just need the script to automatically launch Terminal first. and do script...