[Casper] run script as different user?
Miles Leacy
miles.leacy at themacadmin.com
Wed Aug 20 10:42:50 PDT 2008
Absolutely.
Think of and approach scripts just like packaging. A big script requires a
lot of work to update and is more prone to problems. Small scripts, even
containing a single command, are easy to write, troubleshoot & update.
2008/8/20 Smith, William <william.smith at merrillcorp.com>
> On 8/20/08 12:31 PM, "Jeremy Matthews" <jeremymatthews at mac.com> wrote:
>
> I'm guessing at this point that since the script has a lot more running
> inside of it, it needs further dissasembly....something must be silently
> failing or changing it back. I know at one point we had a pseudo-security
> daemon that looked for new files, and would change them in whatever way that
> consultant saw fit (before my time).
>
>
> For a while I had a long post-imaging script that took care of things like
> network settings, antivirus updates, etc., then I adopted the modular
> approach even with my scripts. Now I have several smaller scripts but
> they're easier to maintain this way and I can apply them as part of the
> imaging process or run them individually to correct minor problems.
>
> If you've got one script doing several unrelated things then consider this
> approach.
>
> --
>
> bill
>
> William M. Smith, Technical Analyst
> MCS IT
> Merrill Communications, LLC
> (651) 632-1492
>
> _______________________________________________
> Casper mailing list
> Casper at list.jamfsoftware.com
> http://list.jamfsoftware.com/mailman/listinfo/casper
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.jamfsoftware.com/pipermail/casper/attachments/20080820/f0ef3deb/attachment.htm
More information about the Casper
mailing list