/build/static/layout/Breadcrumb_cap_w.png
07/09/2018 312 views
Hi everyone - if you are at all familiar with Adobe Creative Cloud, you know that CC gets updated whenever Adobe sees fit - and they don't tell you when it happens. With that in mind, I'd like to create a script which runs the following terminal commands:

cd /

cd /usr/local/bin

sudo RemoteUpdateManager --action=install


Problem #1 that I have is that I am using Deep Freeze to manage the machines, and as such I need to make sure the machine is Thawed first (which should be done in a separate script as far as I can tell).
Problem #2 is that the 'sudo' keyword forces the machine to prompt for the Root password for the machine, and I don't know how to incorporate that into the script.

Any and all suggestions are welcome. :)
1 Comment   [ + ] Show comment

Comments

  • I have a separate script to thaw and freeze the machines, so that shouldn't be a problem. What concerns me is the need for the machine's password that comes up after the RUM command.

All Answers

0
By default, scripts run in the root context, so you can remove the sudo. Also, there's no need to cd / and then cd /usr/local/bin.

As for DeepFreeze, it's been a long time since we had it in our environment, but there used to be a command line you could run to get the status of frozen or thawed. If that command still exists, you can have your shell script run it with the results going into a variable. If the status is frozen, then just exit. If the status is thawed, run the command.
Answered 07/17/2018 by: chucksteel
Red Belt