Cant send UNIX commands via ARD

I have ARD, and the option to send UNIX commands is greyed out. Help?

On the client, apple menu, system preferences, sharing, Remote Management.
If allow access is set to all users, then click the options button.
else, select the user your using to connect to the client, and then click the option button.
Make sure every thing is checked.
click ok
try again on ARD.
Other things to try:
quit and re-open ARD.
delete, then  and re-add the client computer from ARD.
unchecking, and then re- checking remote management on the client. (to force the service to restart)

Similar Messages

  • Inconsistent results from hostname Unix command via ARD

    I sometimes get the DNS name and sometimes get the local sharing name.
    Some one pointed out to me
    % scutil --set HostName DNS-name
    as root will do the job.
    So the next question is can one get the Mac to cough up its DNS name or
    IP address without major acrobatics.
    For example
    % ifconfig en0 inet
    gives the IP address but you have to parse it out and
    % host IP-address
    will give the DNS name but again you have to parse it out.

    We have a bunch of machines that are all named via the Sharing panel in System Preferences. Our network is giving them a different DNS name. We'd like to be able to access the Sharing name via the command-line (hostname gives DNS name). I assume this is possible because Remote Desktop seems to get it somehow.

  • Send UNIX command as root

    So I read in this thread  how to send a UNIX command via ARD as root.
    My question is why does ARD allow you to use root without entering a password?

    Because you're already authenticated to the client workstation as an administrator user.

  • Can't Set Remote Login OFF via Send Unix Command systemsetup

    Trying to use the System Setup->Remote Login template in ARD to turn off Remote Login (SSH) in Sharing panel of System Preferences on Mac that is administered through Apple Remote Desktop.
    In Apple Remote Desktop (ARD), I select the client machine, then choose "Send Unix Command..." from the "Manage" menu. In resultant window, I pick "System Setup->Remote Login (SSH) from the "Template" drop down box in the upper right. That populates the upper window with Unix commands. I edit/change the "on" to "off" and tell the dialog to Run command as User: root, then click on "Send" button.
    Progress bar goes forever with no change.
    I can turn off Remote Login via ARD by controlling each client machine via an ARD WINDOW, then navigating to the Sharing Preference pane, but that process is tedious when performing for multiple client Macs.
    Strange, but I CAN use the "Send Unix Command..." outlined above to turn ON Remote Login, and get the status of Remote Login ("systemsetup -getremotelogin"). Just can't turn OFF Remote Login (quickly/efficiently).
    man systemsetup suggests I need to write the command as "setremotelogin -f off" but that failed with an improper command syntax error.
    Thoughts?

    It’s waiting for you to type a confirmation. If you run this command on the command line normally, you’ll see the message:
    Do you really want to turn remote login off? If you do, you will lose this connection and can only turn it back on locally at the server (yes/no)?
    Use this command instead:
    systemsetup -f -setremotelogin off

  • 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

  • Using ARD to send UNIX command to add item to dock

    The ARD 3 Admin Guide, page 132, says the following command sequence will install an item in the dock of the target computer(s):
    4) Type or paste the following UNIX command (replace /PathToApplication with your own path to the desired application, and be sure to include the application file extension, .app):
    defaults write com.apple.dock persistent-apps -array-add '<dict><key>tiledata</
    key><dict><key>file-data</key>
    <dict><key>CFURLString</key><string>/Path_ToApplication
    </string><key>_CFURLStringType</key><integer>0</integer></dict>
    </dict></dict>';killall -HUP Dock
    Use “persistent-others” instead of “persistent-apps” if the item is anything other than an application.
    I am unable to make it work. Could anyone help with the correct syntax or suggestions as to how to perform a remote addition to the target computer dock.

    Do you have JSS? I ask because your script contains the word JAMF allot.. if you do have a jss, is there a reason your trying to use ARD instead of your JSS to run this script?
    When issuing the script from ARD as a send unix command, Have you cosnidered using the option to run command as user "root" ?
    are you sure you want to do this? the script look like it dose more then just disable the isite. And do you know how to undo this if you change your mind?

  • Send UNIX Command Authentication?

    I'm using a script suggested at MacEnterprise http://macenterprise.org/content/view/240/140/ that binds a client to AD and OD via the ARD send UNIX command.
    I'm having an issue with the dsconfigldap line. If I send it via ARD with no user logged in on the remote I get an "Unable to obtain auth rights to update DirectoryService LDAP configuration." error. If I login to the remote or send the same command from the terminal, all is OK.
    I've tried using sudo, but that requires a password. I'd like to be able to send this command to mutiple machines without having to log into them.
    Any suggestions?
    Regards
    Dave

    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.

  • 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

  • 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 security and privacy setting unix command via apple remote desktop

    Could someone guide me on the unix command to set System Preferemces Security & Privacy to xx minutes [see screenshot please] via Apple Remote Desktop.
    https://dl.dropbox.com/u/5485939/osx_screenshots/sys%20pref%20security%20privacy .png
    Thank you,

    Pereference tend to be stored for the computer as a whole
    /Library/Preferences/
    or specifcally for the user
    /Users/USERNAME/Library/Preferences/
    well when I set required password for XX minutes... I see that
    /Users/USERNAME/Library/Preferences/com.apple.screensaver.plist modfication date & time changes to the current time & date... hMMM maybe the setting we want is stored here? Can we test this?
    If I check require password and then do the terminal command:
    defaults read ~/Library/Preferences/com.apple.screensaver
    I see
        askForPassword = 1;
        askForPasswordDelay = 0;
        tokenRemovalAction = 0;
    turn it off
    run the terminal command;
    defaults read ~/Library/Preferences/com.apple.screensaver
    I see:
        askForPassword = 0;
        askForPasswordDelay = 0;
        tokenRemovalAction = 0;
    so I can turn it on with
    defaults write ~/Library/Preferences/com.apple.screensaver askForPassword -bool TRUE
    and I can turn it off with
    defaults write ~/Library/Preferences/com.apple.screensaver askForPassword -bool FALSE
    So if a user is logged into a computer. I could send unix command as current console user.
    defaults write ~/Library/Preferences/com.apple.screensaver askForPassword -bool TRUE
    BUT what if the user is logged out? or there are more then one user on the computer?
    then I could run unix command as user root and send
    defaults write /Users/USERNAME/Library/Preferences/com.apple.screensaver askForPassword -bool TRUE
    (replace USERNAME with the user's short name.)
    but what if I don't know the user name? or names
    send unix command as root
    ls -al /Users/
    get back a list of folders
    bob
    surely
    shares
    and then do
    send unix command as root
    defaults write /Users/bob/Library/Preferences/com.apple.screensaver askForPassword -bool TRUE
    defaults write /Users/surely/Library/Preferences/com.apple.screensaver askForPassword -bool TRUE
    you could also do some thing like
    defaults write ~/Library/Preferences/com.apple.screensaver askForPasswordDelay -integer 5
    if you want to change the period of time to lock to 5 seconds
    or
    defaults write ~/Library/Preferences/com.apple.screensaver askForPasswordDelay -integer 900
    (900 seconds  / 60 seconds = 15 minutes)

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

  • Can't send UNIX command to some users

    I have some users that I use as "guinea pigs" for rolling out new updates. They do my testing of the updates through the daily grind and report problems and such.
    Since updating to 10.4.4, I cannot send UNIX commands to them reliably. In fact, simply sending the command "ls /Applications" results in a long wait with ARD reporting "Waiting..." that never seems to finish.
    Is there anything I can delete from their systems that would force those computers to reconsider their desire to run my UNIX commands? Sending to my 10.4.3 users results in instantaneous command results and sending UNIX commands to some other 10.4.4 systems (like my own laptop) works just fine as well. It's like these four systems are confused somehow. I just sent "ls /Applications" to 150 users and only those four systems have ARD "Waiting..." to complete the task

        Hi Tilly4527. It's easy to share those awesome picture memories with your family and friends with your HTC Incredible. Just follow the steps at http://vz.to/13qpt6h and select the messaging option for the method. Then you can either enter the 10-digit mobile numbers, names of your contacts, or email addresses for the people you'd like to share the picture with.
    Enjoy sharing those memories and have a great day.
    Thank you
    JenniferH_VZW
    Please follow us on Twitter @vzwsupport

  • Send Unix Command 'reboot' never completes

    I'm going to upgrade the OS on a bunch of machines with the software update command line utility.
    It's a simple one liner from ARD, send unix command. I want to add a second line with either reboot or shutdown -r now, but when I do, the taks never completes.
    The machine does indeed reboot properly, but the task in ARD never appears to stop.
    Why is that?

    It never officially completes because the system reboots before the ARD client can report back the successful completion of the task. It's sort of like you asking someone to disconnect your telephone and then wanting them to call you to tell you it's been done. I know of no way to send the reboot command as a UNIX command without the ARD task hanging waiting for the "completion", but perhaps someone else here will have an idea. I just wait for the updates to complete and then I use the ARD Restart command rather than a UNIX command.

  • Send Unix command won't work under 10.2.8

    So I am running this command in a lab of 10.2.8 machines. I go to send Unix Command then I put this in:
    Send Unix Command
    user: root
    osascript -e 'tell application "System Events" to keystroke "map"'; \
    osascript -e 'tell application "System Events" to keystroke tab'; \
    osascript -e 'tell application "System Events" to delay 0.5'; \
    osascript -e 'tell application "System Events" to keystroke "map"'; \
    osascript -e 'tell application "System Events" to delay 0.5'; \
    osascript -e 'tell application "System Events" to keystroke return'
    Then I check Display all output.
    Then I check Run command as User: Root
    Then I send it.
    After that in the Display all output shows me this.
    cms132-30 (64.8.180.103)
    /bin/bash: Send: command not found
    /bin/bash: user:: command not found
    execution error: System Events got an error: NSCannotCreateScriptCommandError (10)
    execution error: System Events got an error: NSCannotCreateScriptCommandError (10)
    execution error: System Events got an error: NSCannotCreateScriptCommandError (10)
    execution error: System Events got an error: NSCannotCreateScriptCommandError (10)
    So I close that window and see an error message by that machine that says:
    Error: 1 "execution error: system events got an error: NSCannotCreateScriptCommandError (10)"
    So what is wrong with this? It works fine with 10.3.9 but not with 10.2.8
    Imac   Mac OS X (10.2.x)  

    It doesn't appear that the System Events under 10.2.x responds to the keystroke command (it doesn't appear in the AppleScript Dictionary.)

  • Send UNIX Command - This task will fail. This task is not authorized...

    Whenever i try to use the "Send UNIX Command" feature, i always get a "not authorized" error.
    The machines are connected through a switch, they are not firewalled.
    How can i resolve this?
    G5   Mac OS X (10.4.8)  

    You probably don't have the appropriate access privileges set for your user.
    Page 60 of the manual has a list, but you need the following privileges enabled:
    - Open & quit applications
    - Change Settings
    - Delete & Replace Items
    - Restart & Shut down
    - Copy Items

Maybe you are looking for

  • Popup window error message on a Mac .....There was a problem connecting to the server 172.17.0.22

    I keep getting a popup error message on my mac "There was a problem connecting to the server 172.17.0.22" How do I fix this problem

  • Add payer in selection screen of VF04

    Hello everyone, I would like to add a new selection criteria to the report VF04: by Payer. How can i do this? copy the original program SDBILLDL to a ZSDBILLDL and just add it ? do i need to pay attention to the billing index ? I saw note 25026, but

  • Release procedure reset after flag delivery completion indicator is set

    Hello Exports, We have following shenario. There are 2 release strategies 1. < 20 Lacs - S1 2. >20 Lacs - S2 We create a PO having two line items. Release strategy was S2 Then the first item in the PO is deleted. Then GR is done for the 2nd item part

  • Help with Nokia 6234

    Hi, Hopefully someone can help me with this question. My workplace has recently upgraded our work phone to Nokia 6630's - beacuse they have a Symbian OS. My personal take on the 6630 is that the menu system and keys aren't very intuitive, its big and

  • Reference to record

    Hi, I have problem with referencing to record of table. Could you help me, please. I have two tables: tab1(PK_tab1,something) and tab2(PK_tab2,FK_pk_tab1,somethingelse) relation tab1.pk = tab2.FK_pk_tab1 On 1st page(report) is displayed by select * f