Any ideas on how to script this:
Seems straight forward but it looks like switching users maybe required (which I am not sure is allowed in bash), as well as using 'dsenableroot', which requires including a root password. But then doing dsenableroot -d to disable at the end.... thx, john