ARD unix command to rename partition

I need to rename the backup partitions of a large amount of computers. I was wondering if there is a Unix command I could use to send through ARD

diskutil renameVolume 'Macintosh HD' 'Renamed Volume'

Similar Messages

  • ARD Unix Command install with root

    I'm a bit of a unix novice, I am trying to install a script file, 'install.sh', via ARD. Works fine in Terminal locally but I can't work out how to input the root password via the ARD unix command tool.
    cd Desktop
    chmod +x install.sh
    ./install.sh -i
    & set to run command as Root.
    I'm getting seemingly nonsense errors e.g. 'Error 127 sh: line 1: cd: Desktop: No such File or Directory' when the file is definitely there, on the desktop.
    I'm pretty sure it needs to enter the root pw in the code window, can anyone advise please?

    when you say install.sh is on the desktop of the remote computer. Is that the desktop for account root? Or is that the desktop of the current logged in users? (assuming the currently logged in user is not root)
    when you run a command as root you start at "/var/root/" there is only going to be a folder /var/root/desktop/, if you've used the login window at least ones to log into root.
    if the current user logged into the remote computer is another account, then your install.sh resides in another location. Witch will look some thing like this. /Users/nameOfUser/Desktop/install.sh
    try this. Send the command:
    cd Desktop
    pwd
    send the command first as the current logged in user, then as root. When you run it the first time, you should get some thing like  /Users/nameOfUser/Desktop/
    when you run it as root you'll probable see /var/root/.
    if you do then you would probable want to do some thing like
    chmod +x /Users/nameOfUser/Desktop/install.sh
    /Users/nameOfUser/Desktop/install.sh -i

  • ARD UNIX Commands (create user)

    Looking for a good resource for ARD Unix commands.. have lots of projects trying to do through ard..
    first is create a new user so I can do it across many machines..
    Thanks.

    In addition to the sources Templeton mentioned, a good book on UNIX for Mac OS X (such as the O'Reilly books) would be useful. You can send through ARD many of the UNIX commands that Mac OS X recognizes, though of course you have to be careful what you send or you can cause yourself lots of problems.

  • Networksetup ARD Unix command - Joining AirPort loop

    Hi,
    I'm attempting to mass-set a bunch of iBooks to join a specific AirPort network with a WEP key.
    My understanding is with ARD, I can run the following unix command en masse:
    808:/ root# /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support/net worksetup -setairportnetwork "myAirport" "aaaaa"
    Which returns: You cannot join a network when AirPort power is off.
    So I try to power on the AirPort:
    808:/ root# /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support/net worksetup -setairportpower on
    Which Returns: You cannot set AirPort power because all AirPort network services are disabled.
    So I check to see what's actually enabled:
    808:/ root# /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support/net worksetup -listallnetworkservices
    An asterisk (*) denotes that a network service is disabled.
    Built-in Ethernet
    AirPort
    *Internal Modem
    *Bluetooth
    *Built-in FireWire
    Built-in FireWire
    808:/ root#
    Seems like the airport is enabled. So, lets check it specifically:
    808:/ root# /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support/net worksetup -getNetworkServiceEnabled AirPort
    Enabled
    Next I disable the network service and check that it is truly disabled:
    808:/ root# /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support/net worksetup -setNetworkServiceEnabled AirPort off
    808:/ root# /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support/net worksetup -getNetworkServiceEnabled AirPort
    Disabled
    Then re-enable it and power up the AirPort:
    808:/ root# /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support/net worksetup -setNetworkServiceEnabled AirPort on
    808:/ root# /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support/net worksetup -getNetworkServiceEnabled AirPort
    Enabled
    808:/ root# /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support/net worksetup -setairportpower onYou cannot set AirPort power because all AirPort network services are disabled.
    Back to where we were.
    808:/ root# /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Support/net worksetup -setairportnetwork "myAirport" "aaaaa"
    You cannot join a network when AirPort power is off.
    Any ideas? Basically I want to be able to set the airport and the wep en-mass via ARD. This seems like the logical place to accomplish it.
    Thanks!
    iBook G4 Mac OS X (10.4.7) ARD Client 3.1

    Hi
    I found this out a few weeks ago after trying for about 20-30 minutes or so. Won't be the first time manual pages were wrong or out-of-date, nor the last. Depending which OS you're running there are manual pages for utilities that don't exist any more. I remember ktrace disappearing in 10.5 yet the manual page was still available. Completely gone in 10.6.
    Tony

  • ARD-Unix Command for Energy Saver Settings

    I need to take out the schedule for turning on and off 100 + iMacs. The setup was done with managed preferences in OSX server but cannot be taken off now. Is there a way to turn this off using a unix command with ARD? I've been doing one by one with ARD!

    Use ARD to send the Unix command systemsetup -help
    This will return a bunch of different commands for you to look at that are related to power and energy saving settings. Make sure you send the command as the root user
    You can always read the man files for the pmset command using your Terminal app. Also check out this page too:
    http://www.hmug.org/man/1/pmset.php

  • ARD: Unix commands wait forever

    Hello,
    I run a cluster of 30 iMacs. We've just updated them to Mountain Lion, and when trying to control them via ARD, all Unix commands (even hostname or echo a) show as "waiting" and never complete.
    All machines involved are running Mountain Lion (or Mountain Lion Server in the case of the ARD master machine) and ARD 3.6.2.
    Can you think of anything that might be causing this? Unix commands used to work instantly before the upgrade to Mountain Lion.
    Thanks,
    Louise

    In addition to the sources Templeton mentioned, a good book on UNIX for Mac OS X (such as the O'Reilly books) would be useful. You can send through ARD many of the UNIX commands that Mac OS X recognizes, though of course you have to be careful what you send or you can cause yourself lots of problems.

  • ARD unix command templates

    Just wondering is there anyway to tidy up the unix template menu in ARD. I have made my own unix scripts for various things and am now left with a long list. Apples own builtin templates have sub menus, is there a way to do that.
    I tried editing the plist file for my own list but it just constantly break it.

    Just wondering could you point me to ARD's default plist if you know were it is, So i can see what way they designed the plist structure.
    Thanks for the response.

  • Umask is wrong running unix command as current console user?

    ARD3.1 Admin on intel mac, Clients all v 3.1 PPCs
    If I ssh to a remote machine or use ARD Unix command as the logged-in console user joeuser and enter 'touch /myfile' the permissions are
    -rw-r--r-- 1 joeuser admin 0 Apr 27 10:40 myfile
    but if i am directly on the machine and do it the result is
    -rw-rw-r-- 1 joeuser admin 0 Apr 27 10:42 myfile
    Is this expected behavior? How about the group membership? If I execute the same commands in ~/ the results are:
    -rw-r--r-- 1 joeuser av 0 Apr 27 10:40 myfile
    and again when i am directly on the machine and do it the result is
    -rw-rw-r-- 1 joeuser av 0 Apr 27 10:42 myfile
    where av is the group as defined in netinfo.
    the NSUmask value in /Library/Preferences/.GlobalPreferences.plist was set to integer 2 in all cases on the client machines.
    I'm new to this board, so my apologies if this question belongs in a different one.

    Please discard the above msg i got a solution by just adding file.delete
    thanx

  • UNIX command to set permissions for a "public" partition?

    I have a bunch of Core Duo (1.83) iMacs running 10.4.11. We have the drive partitioned so that students can save/store stuff locally for myriad reasons.
    With infrequent regularity, the read/write permissions on the partition get munged up and staff have to reset permissions (using the Get Info window).
    I would DEARLY love to use ARD 3.2 to send a UNIX command to set permissions so that EVERYONE has access to EVERYTHING on the partition regardless of who has logged in. We have cleverly named this partition "Scratch" 'cuz, well, you know, that's what scratch drives are for, yes?

    What I was hoping for was the ACTUAL chmod command so that I could just cut and paste it.
    Sorry not to be sufficiently specific. If you'd said that initially, I could have provided a more direct answer. I didn't know if you were even aware of chmod, and lots of people when they learn about it don't want to go anywhere near a chmod command, so I posted only to the general description first so you knew what you were getting into. Templeton has you covered for the specific command.
    For future questions, the more specific you can be about what you're aware of/have tried and what it is you're looking for, the more precise folks here can be in their answers.
    Regards.

  • How do I run a unix command to quit ARD if it is running on a remote server I am trying to access?

    how do I run a unix command to quit ARD if it is running on a remote server I am trying to access?

    killall "Remote Desktop"
    Regards.

  • Using Sent Unix Command in ARD 3 with proxy authentication

    I'd like to use Unix commands to update Apple software through ARD thus allowing me to lock the computer screen before the process using the ARD command to do so, thus keeping the users from interfering with the process .
    Our network utilizes password protected firewall proxy that hangs ARD when using the softwareupdate command through ARD's "Send Unix Command..." at the point in which it would ask for authentication if using the same command in the terminal.
    Is there a Unix/terminal script or a series of script commands that could be modified to wait and enter the appropriate authentication at the previous mentioned prompt?
    I've researched this topic on this forum and discover a few post that states it is not possible but they are fairly old posts so I am hoping ARD 3 has some scripts or commands that can pass thru a username and password

    Welcome,
    I use the "System Events" handler, e.g.:
              tell application "System Events" to delay 5.5
              tell application "System Events" to keystroke "K"
              tell application "System Events" to delay 0.5
              tell application "System Events" to keystroke return
    Regards,
    Shawn

  • Is there an ARD command or Unix command that I can send to reset the desktop background image to default?

    I was forced to create a local user with an automatic login on all of the machines in the building. I listed off many various issues that could come arise by doing this but was tuned out. Now people are changing all of the desktop backgrounds to some pretty inappropriate images. I forewarned the person ordering this that this may be one of the many issues that would arise when doing away with our server based logins, and now I am charged with fixing every desktop every time someone changes it to something inappropriate.
    Is that an Apple Remote Desktop command or a Unix command that I can send through ARD v3.5.3 to the machines to reset the desktop background image to the default Aqua Blue jpeg image located in the /MacintoshHD/Library/Desktop\ Pictures/Aqua\ Blue.jpg.
    The machines that I am dealing with have OS X 10.4.11, OS X 10.5.8, OS X 10.6.8, and OS X 10.7.4 installed on them, but the OS X 10.4.11 machines are the ones that are creating the biggest issue so I would like to deal with those first.

    Ya, I'd love to have the computers connected to the Xserver, unfortunately against my heeding, I was ordered to take them off of the Xserver, so they only have a local account that automatically logs in on startup, and even though I have Parental Controls set, I can not stop them from going to Safari, selecting an inappropriate image and setting it as the background, so now I’ve been ordered to fix all of the backgrounds that people are messing with.
    My Xserver is running OS X 10.4.11 Server Edition. Yes, I would love a new server, but that’s not happening due to budget cuts.
    So what I am hoping for is a command that I can put into Apple Remote Desktop v3.5.3 and push out to all of the computers via its Unix commands and reset all the desktops to their default image.

  • Problems with ARD and SwUpd Unix Command

    Hi everybody
    I have a problem sending UNIX commands to my clients, I work in a school with 500 macs, with 10.4 and 10.5 systems and all the computers download the updates from my Software Update Server, but when I try to send the command from ARD (sudo softwareupdate -i -a) the clients attemp to connect to Apple's servers instead my own SUS. It seems when I try to install with sudo command, overrides the address of my server.
    I show you the output:
    $ sudo softwareupdate -i -a
    password:
    2009-09-22 12:14:31.712 softwareupdate456 loader:didFailWithError:NSError "XML parser error:
    Encountered unknown tag style on line 5
    Old-style plist parser error:
    Malformed data byte group at line 5; invalid hex
    " Domain=SUCatalogLoader Code=0 UserInfo={
    NSLocalizedDescription = "XML parser error:\n\tEncountered unknown tag style on line 5\nOld-style plist parser error:\n\tMalformed data byte group at line 5; invalid hex\n";
    NSURL = http://swscan.apple.com/content/catalogs/index-1.sucatalog;
    Error: XML parser error:
    Encountered unknown tag style on line 5
    Old-style plist parser error:
    Malformed data byte group at line 5; invalid hex
    Software Update Tool
    Copyright 2002-2005 Apple
    When I try this command as a normal user, everything is ok:
    $ softwareupdate --list
    2009-09-22 12:15:03.569 softwareupdate458 Loading CatalogURL http://xserve.fcaq.k12.ec:8088/index.sucatalog
    Software Update Tool
    Copyright 2002-2005 Apple
    Software Update found the following new or updated software:
    * iPhoto504-5.0.4
    iPhoto Update (5.0.4), 41980K recommended
    * JavaForMacOSX104Release7-1.0
    Java for Mac OS X 10.4, Release 7 (1.0), 82580K recommended
    * iTunesX-9.0.0
    iTunes (9.0.0), 87530K recommended
    * QuickTime-7.6.4
    QuickTime (7.6.4), 51340K recommended restart
    * RemoteDesktopAdmin33-3.3 v1.1
    Remote Desktop Admin Update (3.3 v1.1), 57530K recommended
    * SecUpd2009-005PPC-1.0
    Security Update 2009-005 (PowerPC) (1.0), 81690K recommended restart
    I hope you can help me... Thank you so much

    I have the exact same problem with two PowerMac G5's. I need to have full resolution on the remote G5 which has no monitor connected, but only get to choose between PAL and NTSC TV resolution. This is really annoying, and in my opinion a major bug in ARD 3.1 and below. Why is the user forced to see such a small remote window if the remote computer is capable of much more?

  • Send a Unix command through ARD that will change a OS X admin user to a standard user.

    I would love to send a Unix command through ARD that will change a OS X admin user to a standard user. The only thing I found close is
    sudo dscl . -delete /Groups/admin GroupMembership USERNAME
    which does remove the user from the list of admins, but they are still listed as an admin in the user preference panel, and can still use their account to authenticate for admin privileges.

    I'm not having any problems adding or removing users from the 'admin' group by using the syntax's
    dscl . -delete /Groups/admin GroupMembership ARDusername
    or
    dscl . -append /Groups/admin GroupMembership ARDusername
    What I'm saying is if a user is ticked as an Adminstrator in System Preferences and I run the
    dscl . -delete /Groups/admin GroupMembership ARDusername syntax and remove them from the 'admin' GroupMembership they still have the Administrator box ticked in System Prefs and can administer the machine.
    By the way the '/' doesn't work in the syntax in ARD.
    Thanks

  • Unix command to update Microsoft Office 2008 via ARD

    I'm looking for a unix command I can send via ARD to update Microsoft Office 2008. It just needs to install all updates and then restart. Kinda like apple's software update one: softwareupdate -i -a; shutdown -r now

    Why go through all the trouble of trying to do it in Unix.  Apple and Microsoft made it a LOT easier.
    Just download the update from Mactopia
    Open the .dmg
    (for convience and ability to have it stored) Drag the Update from the Microsoft folder that opens up and put the update on your desktop
    In ARD Select what computer(s) you want to install the update in
    Use ARD Install function to install the update
    Go have a cup of coffee and a donut while ARD does the install.
    You do not even have to do a restart.  Microsoft uses a different icon for the update but it still is a package file operation.

Maybe you are looking for

  • ABAP code generation

    After a transport was imported successfully into production the program screen did not look the same as in non-production. To correct - the code was regenerated manually. I thought the tp import did this for you? Whan I look at the log I see: Generat

  • Burn MP4 to DVD?

    I need to know how to burn MP4 files to a DVD disc that can be played on a regular DVD player. I have tried to the application Burn and it worked great but only for the first time. It never worked again cause an error always came up. I have read that

  • How to set the current date in Calendar

    Calendar carrentDate = Calendar.getInstance(); how do i initialize carrentDate to the current date?

  • Why is iPhone all of a sudden using insane amounts of data, and how do I make it stop? Verizon useless -- laughing all the way to the bank, no doubt.

    Got replacement iPhone from Asurion (%$&@ing rat b@stards that they are). All of a sudden, phone using 1G of data every other day. Verizon is useless and can't help me figure out WHAT is using this data. Roaming is off. No new apps. What could be cau

  • Play pause movie controls

    I would like to create play/pause movie controls that for different flv files. I do not want to use skins but have the controls as part of the movie/video. Can anyone point me to a tutorial source that will help me design these?