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.

Similar Messages

  • Export Unix Commands Templates in ARD

    I was looking for a way to export my unix command templates and came across this thread without a conclusion.
    https://discussions.apple.com/message/2184297#2184297
    After digging around myself, I found that the com.apple.RemoteDesktop.plist mentioned in the previous didn't contain my unix commands.
    Long story short, they are located in Users/$username/Library/Application Support/Remote Desktop/Presets/UnixCommandTask.plist
    Copy the UnixCommandTask.plist around and you're set.
    Should work for 10.6 and up and maybe below too.
    *For OSX Lion and Mountain Lion users, see the following for how to find the Users Library:
    https://discussions.apple.com/thread/4176215?start=0&tstart=0

    you can easily change the serial to a different one
    after copying the plist file from within ARD.
    Preferences > General > Change Serial Number
    so why is it not a good idea?
    Cause the preference files stores all clients data.
    So if I want to use that preferencesfile to another client,
    it will surely show the other clients data like missing.
    I havent tried this. Just my guess, but you right about
    the serial.
    Send the unix commands:
    networksetup -help
    and
    systemsetup -help
    This commands just show the build in templates commands.
    I want to export my own templates, without remaking them
    on every clients server. No big deal but anyway...
      Mac OS X (10.4.3)  

  • The built-in Send UNIX Command templates include 'Login User'

    On page 144 of the Administrator's Guide.pdf is the title The built-in Send UNIX Command templates include:
    Under Miscellaneous it has as the first command "Login User" however it isn't listed for me.
    Upon further investigation I discovered in /Applications/Remote Desktop.app/Contents/Resources/English.lproj/UnixCommandTask.strings on line 75 presetLoginUser = "Login User";
    Also noted in the MacEnterprise video 2006-04-18_hres.mov at 00:23:07 it is not listed.
    I'm aware of the the scripts capable of doing this, I would just like to know why it is not available in the built-in commands or am I missing something?
    Thanks to anyone who can help me answer this question.

    No, you're not missing anything. The missing template was reported as a bug (or incorrect documentation) several times, but for some unknown Apple didn't fix the problem, either by including the template (missing perhaps because the script is unreliable with Mac OS X 10.4) or removing the reference from the manual, before ARD 3 was released.

  • 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 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'

  • Send Unix Command Miscellaneous/Login template missing

    I'm wondering why the " Apple Remote Desktop" Administrator Guide depicts "Login Users"
    as an option in the default templates menu of the Send Unix Command/Templates/Miscellaneous/Login users ?
    In my actual ARD 3.2.2 Admin, the template menu list skips that command option.
    Also during my attempt to implement the osa script for simultaneous logins, I used a 'sudo'
    (which I shouldn't have). And now my screen savers won't activate on my login screens.
    So now I worry about my screens being burned with the login window image.
    Any ideas on how to undo my sudo?

    yes, click "user:" and type in "root", then remove "sudo" from your script.
    whenever you need to run a script as sudo, use the user 'root' and remove 'sudo' from the script.

  • Unix command to repair disk permissions

    ARD 3.2.1
    Send UNIX command>Template>Miscellaneous>Repair Disk Permissions
    This command works but the report does not show the results under the correct computer. If several computers are given the command, they report back under the next computer name in the list even though they show correctly in the display under "Active Tasks".
    Ron Taylor

    Send
    diskutil repairPermissions /
    as the user "root" (no quotes).

  • 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

  • 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.

Maybe you are looking for

  • 'You have used a feature that requires the Flex SDK'

    I've tried this code from a tutorial: // ActionScript 3.0 *  Note: This example assumes the bullet_star.png file *  is in the same directory as your .FLA file. [Embed("bullet_star.png")] const BulletStar:Class; var starIcon:DisplayObject = new Bullet

  • No bluetooth devices showing under discoverable

    Iphone5 trying to connect Fitbit, bluetooth on, devices searching wheel moving but nothing shows for days now, and nothing has ever shown. bluetooth icon at the top greyed out.

  • Classify accounts for document splitting

    Hi, I am facing a lot of trouble in deciding which accounts to put under which item category. My problem is, there is item category for Balance Sheet accounts and also for assets,  customer, vendor etc... which in the end are again balance sheet acco

  • Problem in customising replication

    Hai all,     While carry on customising replication we are able to replicates other objects and get the Done status except  for DNL_CUST_PAYPL and DNL_CUST_PROD1 where we are getting the status as running. Could anyone help us to resolve it? Rgds, S.

  • Text Variable With Customer Exit ABAP Code

    Hi Experts, Could you please help me with the Logic/Code that i need to use in Calculacting The TEXT Variable Using CUSTOMER EXIT I had a rolling report in which there are 14 Calculacted Keyfigures (Not Restricted KF),Which are M-1,M-2,M-3,M-4,M-5...