Sending software update commands as root

Hi all,
I'm testing using the command line to send 'softwareupdate -i' to a few remote machines, one off my local network that I administer via ARD 3.
Before trying this, I was doing a test on a local PPC Mac, running OS X 10.4.11.
If I send 'softwareupdate -i' as root, the command succeeds almost immediately. There's no sign of an update occurring on the client.
Sending 'softwareupdate -l' gets a response after some waiting while the command gets the latest updates.
If I get on the client (not via ARD) in the terminal and trigger 'softwareupdate -i', the command needs to be sent as root. If try logging in as root, that fails as we don't allow root user enabled.
So, back to square 1. Why doesn't the softwareupdate -i command sent as root fail to trigger an immediate update via ARD?
I don't want to send updates from the ARD admin workstation as our bandwidth is limited during the day.
Thanks.

Having a Software Update Server is very nice for this as well. I guess depends how many macs you have if it's worth it.

Similar Messages

  • Remote Desktop Initiating Command Line Software Update to local server

    Hi there-
    We have a Software Update server (Mac OS X 10.4.4 Server) that works great. I'm trying to initiate a software update on a lab of 20 computers with ARD through the "send unix command." Now, because it's a software update, you need admin privs to install the software.
    I'm initiating the command line software update as root so that it will install without prompting for a password (and not having to type one in 20 times).
    However, as root user or any other admin the Open Directory setting to have the computer point at our local software update server is ignored. Is there any way around this other than not allowing administrators ignore management settings?
    There doesn't seem to be any way to tell the software update command line utility what server to look at.
    Any ideas?

    I had the same problem and came up with this solution. Create this text file and then copy it to /Library/Managed Preferences/root/com.apple.SoftwareUpdate.plist on each workstation. Replace the <<your server here>> with the address of your actual software update server.
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>CatalogURL</key>
    <string>http://<<your server here>>:8088/</string>
    </dict>
    </plist>

  • Sending the UNIX command to install updates over Remote Desktop returns No Updates Available, but they appear when I manually check in the App Store. Why?

    We use profile manager to set the URL for the Software Updates on a server inhouse, and the clients see the updates when I open the app store on their iMac, but when I try to send the update command to all Macs through Remote Desktop, RD is returning that there are no updates available.
    And here's a log message:
    Mar 20 09:45:17 Alisas-iMac kernel[0]: BUG in process suhelperd[261]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
    Mar 20 09:45:17 --- last message repeated 11 times ---
    Why does this happen? Do we really have to manually update each client or is there something wrong?

    We use profile manager to set the URL for the Software Updates on a server inhouse, and the clients see the updates when I open the app store on their iMac, but when I try to send the update command to all Macs through Remote Desktop, RD is returning that there are no updates available.
    And here's a log message:
    Mar 20 09:45:17 Alisas-iMac kernel[0]: BUG in process suhelperd[261]: over-released legacy external boost assertions (1 total, 1 external, 0 legacy-external)
    Mar 20 09:45:17 --- last message repeated 11 times ---
    Why does this happen? Do we really have to manually update each client or is there something wrong?

  • Software Update via Unix command but get updates from my OS X server?

    I have a OS X server which I use to manage how software update runs on the clients. Currently when you run software update from the client it connects to the server and downloads what it needs which is much faster than downloading it via the internet each time.
    now, I would like to run a unix command via ARD that would run software update against the local server. Does anyone know the correct syntax for this? Running softwareupdate -l -a does not work. Thanks

    I'm also in the process of getting my Xserve setup as an internal software update server. I haven't gotten to the point of testing this yet, but I was under the impression that once the clients were managed, any software update command would force the clients to retrieve their updates from your internal server as specified in the MCX settings.
    I have a OS X server which I use to manage how software update runs on the clients. Currently when you run software update from the client it connects to the server and downloads what it needs which is much faster than downloading it via the internet each time.
    When you say that currently when you run software update from he client it connects to the server and downloads updates, are you referring to running the graphical Software Update tool?

  • Run software update in non-admin account?

    I did some searching through past posts, but the most recent one I found was several years old.
    Is there any way to run Software Update automatically in a non-admin account?  I run in a non-admin account unless there's some task that really needs admin privileges to complete, for security purposes, but having Software Update not run automatically is rather suboptimal for security.
    So, is there any way to get Software Update to check for updates automatically from a non-admin account? (I'm not averse to using the crontab or launchd, if necessary—I've never done it before, but given instructions, I'm sure I could figure it out.
    Thanks in advance!

    Did some research on this the other day, to see if i could get Software Update to run in the middle of the night like Windows can do.
    Software Update requires Root powers, so when you give it your Admin Password your opening a sudo window of 5 minutes for it to complete it's task.
    Software Update doesn't check for updates while in Standard User becuase Standard Users supposedly can't do anything about it anyway and it would be a obvious distraction. "Mommy the computer....!!!"
    Apple should have a option in Software update preferences to let certain Standard Users know a Software Update is ready just for the purpose your explaining. I run in Standard as well.
    I ran some Software Update commands via the Terminal for a launchd just to see what I could do.
    Apprantly one can DOWNLOAD updates automatically with launchd in Admin, but not install them because of the need for sudo.
    I just misssed a perfect opoortunity (todays update) to run a launchd to do automatic downloads of Software update, then see how to go about installing them afterwards. So fsck me, I'll have to wait now. (unless i use my other machine! ahhh!!)
    Anyway the program you want is this little gem: Lingon 
    it's on Sourceforge (grab the image)
    Ok so that takes care of the Software update downloads (man softwareupdate in Terminal for commands)
    /usr/sbin/softwareupdate --download --all
    Will do the automatic downloads, now it's just a script away to let you know ( a nice pop up window) that you have something in your folder where the Software Update just downloaded into.
    That's the next question is where that is and how to run it.

  • Practical Advice Needed re Software Update

    I have ARD working well, managing a mix of four PPC and one Intel Mac, each with slightly differing software.
    One of the PPCs notified me today through Software Update that two updates were necessary, one for iChat the other a Security Update.
    Instead of letting Software Update d/load and install, I went to Apple's downloads page and downloaded the PPC versions of these updates. I then used Software Update on all the PPCs to establish which ones needed the updates before using ARD to instal them.
    Whilst this worked well, it seems clunkly to run software update to see what's required on each of the machines.
    How do people out there manage this kind of issue? Any advice would be gratefully received.
    Thanks.
    David

    I don't know of any "automatic" solution. You either use the UNIX software update command and have each system check and download separately, or you determine which updates are needed by each system and push the appropriate packages to the appropriate systems.
    One "intermediate" approach is to set up a Mac OS X Server 10.4 and use it's Software Update Server service. You download the updates to the server and then point each workstation to look to that server for updates. That way you only download from Apple once, but each workstation can update itself. Not only does that reduce traffic on your Internet connection, but you can manage the packages you want installed.

  • Remote Software Updates and Sending Task Status to User

    I am updating user's machines using ARD 3 with the unix command 'softwareupdate -i -a'. With some updates, a restart is required and ARD posts this within the task status column.
    I was wondering if there was a way to grab that task status of "restart needed" or "succeeded" and then send that to the user when the software update has completed.
    Any help would be appreciated.
    Thanks.

    System restart checkbox is used to control what happens outside of MW.
    If you have no MW and did not select to restart outside of MW then systems will reboot after installation completes (unless user overrides it and does it sooner). Keep in mind that the 90 minute and 15 minute restart countdowns will be displayed if user is
    logged in (unless you have changed the times) if user did not interact with any notifications to select other options like install and reboot ahead of time.
    If you have MW and did not select to restart outside of MW, then PC will not reboot until MW starts (unless user overrides it, of course).
    If you select to reboot outside of MW checkbox then PC will reboot after installation ends, no matter if MW is set or not.

  • Unix command to turn OFF Software Update

    I've browsed through the networksetup -help and the systemsetup -help files and can't find anything that would allow me to send a unix command that would turn automatic software update off? Anyone got any thoughts?

    Send:
    softwareupdate --schedule off
    and that is indeed a doubled hyphen in front of "schedule".
    The command is user specific, so you would have to turn it off for every user on the system. I don't know of a global way to turn it off for all users at once.
    Regards.
    Message was edited by: Dave Sawyer

  • Software Updates using Unix command hangs

    Every time I try to do a software update to my OS 10.6.4, 10.6.8 iMacs, the process stays an/or hangs and I have to cancel it. This is the last message in the log:
    Writing files…    Running package scripts…    Removing old files…    Optimizing system for installed software…    Moving items into place…
    I have left it there for 24 hours and it stills never finishes. When I check an individual machine, the updates are still outstanding, except the combo 10.6.8 on the machines that are running 10.6.4
    Any help on this? I am running a Snow Leopard server with the software update service and doing local updates on the machines. I have sent already a unix command to the machines to do a local update with my server ip.
    Thanks,
    Elizabeth Rodriguez
    Rancho Dominguez Prep

    If your using ARD , you should be able to send, and copy & run the installer on your client computers without needing to directly interact with the computers. 
    ie:
    download the 10.6.8 combo updaters v1.1.dmg onto your ARD computer
    double click on the dmg so your computer mounts it.
    open ard
    select  one or more client that need to update
    click on install icon from the ard toolbar (it should be right next to unix) (altertively
    a dialog box will pop up asking what you want to install
    click the +
    select the 10.6.8 combo update v1.1.pkg from the mounted disk image
    set restart after install to attempt or force restart.
    click install
    it's a good idea to send this installer to computers physicaly in the same location at one time. IE send the installer to 1 lab of computers, then the next lab. for classrooms you might find it better to do 1 classroom or one building at a time.

  • I can´t rescan for software updates with wmic command

    Hi guys,
    I read in all the sites that to install all updates  I need to run a command, but when I try to scan for software updates both a OSD task as from a command line on a machine with installed client gives me an error: Modifier Verb is invalid. Anyone know
    why? Is there any requirement to launch this command?
    Command: WMIC /namespace:\\root\ccm path sms_client CALL TriggerSchedule "{00000000-0000-0000-0000-000000000113}"
    /NOINTERACTIVE
    Sccm 2012 SP1 with SQL Server 2012 and Windows Server 2012. All in spanish. Reference OS is Windows 7 x64.
    THX for all!!!

    Hi,
    Please review the link below, here is a useful article for you.
    Configuration Manager 2012: Offline Servicing for Operating System Images
    http://blogs.technet.com/b/inside_osd/archive/2011/04/18/configuration-manager-2012-offline-servicing-for-operating-system-images.aspx
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • MacBook Pro 10.6.8  My @me account has been wiped of all mail, will not send or receive and iCal will not recognise user name or password even though i haven't changed it.  All this after a scheduled software update. Any ideas??

    MacBook Pro 10.6.8  My @me account has been wiped of all mail, will not send or receive and iCal will not recognise user name or password even though i haven't changed it.  All this after a scheduled software update. Any ideas??

    kwmlr439 wrote:
    CSOUND Read the title please:
    Re: Macbook Pro 10.6.8 RAM Upgarde to 8 GB
    The amount of RAM is not dependant on the operating system. It is all about the model of you Mac.
    10.6.8 is the version of OS X that is installed on your system. It has no real baring on the amount of RAM that CAN be installed.
    Personally I have never had good luck with Corsair RAM. I have always had good luck with Crucial and Kingston.
    Message was edited by: Shootist007
    Message was edited by: Shootist007

  • By entering App store I get a message that a software update, but this software I have never installed on my computer if I want to upgrade what message he sends me a says this with a different account to mine, will not let me update. If I install this sof

    By entering App store I get a message that a software update, but this software I have never installed on my computer if I want to upgrade what message he sends me a says this with a different account to mine, will not let me update. If Iinstall this software (FACEBOOK), I put as account user account that is not mine, if you change to my account, send an error and will not let medesacragarlo.As I can remove the software actaulización notice?

    Hi...
    I replied to you here > https://discussions.apple.com/thread/3851006?tstart=0

  • Email doesn't work on Z10 when sending attachment after software update on Telus, Gmail but works on live.ca

    Having my Telus email refusing to send attachment (one meg picture), without attachment everything is OK, can receive attachments.  Weird thing is my live.ca account works perfectly.  All that happens is the clock and sending icon would alternate (left it for a couple of hours - still the same). Same result using Wi-Fi or LTE, 4G. So called tech support @ Telus and they have no solution and have two Z10 with same problem sending attachment but on Gmail account.  They are sending a ticket to Blackberry to see if problem can be resolved.  
    Emails were working perfectly before software ugrade three days ago. Anyone else having these issues?  Ideas to resolve?

    FINALLY, after TWO full months of waiting and checking every day, the problem has been resolved.  I'm disappointed that Blackberry took so long to fix, but happy that my email can finally send attachments. Also disappointed that I was not notified of the fix by my provider Telus (which they said they would). Hopefully the problem is permanently resolved and won't re-appear after another software update.

  • Sorry but I think this wrong, I know that in Colombia there and two of the three operators already have 4G/LTE networks, what happens is that the iPhone should be expected to send the update software for computers that have this tercnologia activate them,

    sorry but I think this wrong, I know that in Colombia there and two of the three operators already have 4G/LTE networks, what happens is that the iPhone should be expected to send the update software for computers that have this tercnologia activate them, that my Iphone or receiving 5 supports 4G LTE,
    Thank you for your attention

    Apple needs to test the carrier if they offer LTE as expected.
    If your country/carrier is not on the list then there's no LTE on your iPhone.
    http://www.apple.com/iphone/LTE/
    It's between the your carrier and Apple. There's nothing you can do except feedback to Apple:
    http://www.apple.com/feedback/iphone.html

  • Unix command to stop Software updates for all users except admins?

    I want to stop App Store and other software updates for all user accounts. Administrator accounts should still be able to do Software Updates.
    Is there a terminal command that can do that i can push out through ARD?
    Thanks

    Managed preferences are the best bet. You could use Profile Manager or use the mcx command from the command line. I'd strongly suggest browsing over this before delving into MCX though...
    http://macadmins.psu.edu/2011presentations/PSUMAC301-MCX-John_DeTroye.pdf
    (the Workgroup Manager application shown is deprecated, but it's essentially the same with Profiles and running MCX from the command line)

Maybe you are looking for

  • Utility disco crash

    Ciao a tutti, da quando ho installato Lion subito mi ha dato un problem con Mail e ho risolto ripristinando e rinstallando Lion ora volevo formattare una penna usb e richiamando Utility Disco è crashata, help me pls !! Chi sa risolvere ?!? Grazie in

  • Cannot connect to the iTunes store from iPhone

    I'm connected to WI-FI. When I touch the iTunes election button, a the above subject message appears. I used the same phone as my previous T-mobile number. I am able to make a call now from my iPhone. It has been less than 24 hours. Cannot locate any

  • How do you know if trust certificate error about imap.aol server is the result of an imposter or the "real" aol imap server?

    I keep receiving a trust certificate error about imap.aol server. Says it may be the result of an imposter or the "real" aol imap server?  How do you determine if the trust certificate is for an imposter?

  • Smartform in A$ and Letter size

    Hi Sdn, We have a smartform which prints the form presently in A4 size , is it possible to have the form triggered in both A4 and letter size using the same form. Regards, Nagaraj.

  • Printing without a grid?

    My son created a chart using Numbers. It was fine to see the grid while developing his homework, but he didn't want to see the grid when the information was printed. How do you turn off the grid as well as the A,b,c.... across the top, and the 1,2,3.