I manage several staffed Mac labs for a large educational institution. I have managed their shutdown and restart times via Workgroup Manager; however, occasionally the need arises for the lab monitor to restart multiple machines. These monitors are relatively unprivileged users, and we don't want to purchase remote desktop for each of the lab monitor stations.
In our PC labs, the lab monitor has a script that he or she can run which basically does the following: The lab monitor runs the script, which interactively asks them for a list of machine numbers separated by spaces (eg, "13 25 42 48"). The script then goes about the process of restarting the specified machines without any administrative action or input from the user.
My question is this: Can I mirror this script on the Mac? I'd prefer to stay in simple scripting, either shell scripts or perl, possibly ruby.
Thanks.
In our PC labs, the lab monitor has a script that he or she can run which basically does the following: The lab monitor runs the script, which interactively asks them for a list of machine numbers separated by spaces (eg, "13 25 42 48"). The script then goes about the process of restarting the specified machines without any administrative action or input from the user.
My question is this: Can I mirror this script on the Mac? I'd prefer to stay in simple scripting, either shell scripts or perl, possibly ruby.
Thanks.