I need help in editing the hosts file on approximately 250 Macs in our department and have not been able to find any info on how to do this. The action script I have tried is below but it keeps failing:
A couple thing to try: 1) get rid of sudo, the agent is already root. 2) try running this using the “shell script” option in the action versus action script. For that latter test you will need to remove the waithidden, of course.
This analysis will not help you write this task, but it will help you see what is in place already in the endpoints’ host files: http://bigfix.me/analysis/details/2994561