UNIX command for disabling Firewall in Leopard?

I'd like to use ARD to send a unix command to all my Macs running Leopard that will set the OS's application firewall to "allow all incoming connections." I believe that's the default setting, but I've run into some machines that are setting specific access - not sure how, don't really care, just want to turn it off.
I've been reading up on /usr/libexec/ApplicationFirewall/socketfilterfw but the Help seems incomplete and I'm not sure this will accomplish what I'm after.

defaults write /Library/Preferences/com.apple.sharing.firewall state -boolean No
followed by a reboot works like a charm. thanks for you help.

Similar Messages

  • UNIX Commands to disable Expose and Dashboard

    Teacher looking to block/disable Expose and Dashboard on iMac 2.2 gHz running 10.6.1
    I use ARD 3.2 and want to use a UNIX command to disable features on the students computers. If you know other Commands, maintenance scripts, permissions, etc..those would be helpful as well.
    Thanks for your time and help.
    David

    Hi David
    To disable Dashboard:
    defaults write com.apple.dashboard mcx-disabled -boolean YES
    You have to restart the Dock afterwards:
    killall Dock
    You still have to tear Dashboard off the Dock although you could amend the com.apple.dock.plist If you wanted to? Amend the persistent-apps tile data settings. To re-enable Dashboard at a future date:
    defaults write com.apple.dashboard mcx-disabled -boolean NO
    Restart the Dock again with the same command.
    Not sure if there is a command to disable Expose? I think some of its settings can be found in com.apple.systempreferences.plist? If it looks like it has what you want you should be able copy it either using the Copy feature in ARD or sending a Unix command like cp (man cp) instead.
    Alternatively apply the plist to an OD Group as a managed preference assuming you've an OD environment?
    Tony

  • UNIX command for Energy Saver settings - Set Schedule

    Using ARD 3, can anyone help me with a UNIX command for setting the scheduled sleep and wake times for 10.4 clients?
    Thanks,
    Josh

    Thanks for getting me on the right track, I've been working with pmset for a couple days now and I'm having some problems getting my basic schedule that I'd like to work. I'm hoping for another nudge in the right direction. Here's the scenario:
    I need the computers to wake at 7am on weekdays and to sleep at 3:30pm on weekdays as well. I've also got an addition to make the displays sleep after half an hour of inactivity, Here's what I'm trying.
    pmset repeat wake MTWRF 7:00:00;
    pmset repeat sleep MTWRF 15:30:00;
    systemsetup -setdisplaysleep 30;
    I've been trying to push this out as a batch of commands in a template which would be slick, but the problem I'm having is that the two pmset commands don't get along and whichever one is run last cancels out the other. In the actual System Prefs of the machine I'm sending the commands to, there are the two check boxes for Wake or Power On and the other for Sleep or Power Down but I can't get them both to be checked from my UNIX commands.
    Could anyone please help, I feel like I'm so close!
    Regards,
    Josh

  • Unix Command for tracing WebIntelligence Server

    Hi All,
    Please can any one tell me that what is the Unix command for tracing WebIntelligence Server. I know we use -trace parameter. But where do we use this parameter? With which script do we use it? Please give me complete command for the same.
    Thanks & Regards,
    Ani

    Hi
    Refer "To configure server tracing through the command line"  page number 207 in http://help.sap.com/businessobject/product_guides/boexir31SP3/en/xi31_sp3_bip_admin_en.pdf
    This guide is for Windows but should be same for UNIX
    Regards
    Ashiwni

  • Unix command for turning file sharing off

    Is there a Unix command I can use to turn off file sharing on Leopard ( as well as Tiger ) laptops? I don't mean a command to kill it for the session, I need it off even if the system is restarted. Yes, I can do it though the Preferences, but I need to do it to over 200 some laptops. We have ARD and if we had a Unix command to send to turn file sharing off that would be helpful. Thank you.

    There is a CLI for just about everything. From the [OS X Leopard Security Configuration Guide|http://images.apple.com/server/macosx/docs/LeopardSecurity_Config20080530.pdf]:
    To disable FTP.
    launctl unload -w /System/Library/LaunchDaemons/ftp.plist
    To disable SMB.
    defaults delete /Library/Preferences/SystemConfiguration/com.apple.smb.server EnabledServices
    launctl unload -w /System/Library/LaunchDaemons/nmbd.plist
    launctl unload -w /System/Library/LaunchDaemons/smbd.plist
    To disable AFP.
    launctl unload -w /System/Library/LaunchDaemons/com.apple.AppleFileServer.plist

  • UNIX command for terminal

    Here is what I want to do:
    I want to send the terminal command to 25 laptops all at once to direct them to our internal server for software update.
    I know how to log in to all of the machines at once.
    osascript -e 'tell application "System Events"' -e 'keystroke "username"' -e 'keystroke tab' \
    -e 'delay 0.5' -e 'keystroke "password"' -e 'delay 0.5' -e 'keystroke return' -e 'end tell'
    I know how to open terminal.
    open -a terminal
    Now what I want to know is how to have it type this in for me:
    sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate CatalogURLhttp://SERVER.local:8088/index-mountainlion-lion-snowleopard-leopard.merged-1.su catalog
    Then have a pause and then type my password.
    Bonus points for then a script to force it to check for and do the update.

    You don't need to use send unix command to send osascript to login, and then open the terminal to then type in a termainl command.
    you can just do
    send unix command
    as user root
    defaults write /Library/Preferences/com.apple.SoftwareUpdate CatalogURLhttp://SERVER.local:8088/index-mountainlion-lion-snowleopard-leopard.merged-1.su catalog

  • 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

  • Can this script be converted to a UNIX command for ARD?

    First I'd like to thank "Neil" again for providing the script below:
    set the_versions to (do shell script "mdls -name kMDItemVersion /Applications/Microsoft\\ Office\\ 2011/Microsoft\\ Excel.app")
    set the_versions to the_versions & return & (do shell script "mdls -name kMDItemVersion /Applications/Adobe\\ Reader.app")
    set the_versions to the_versions & return & (do shell script "mdls -name kMDItemVersion /Applications/Safari.app")
    set the_versions to the_versions & return & (do shell script "mdls -name kMDItemVersion /Applications/Google\\ Chrome.app")
    set the_versions to the_versions & return & (do shell script "mdls -name kMDItemVersion /Applications/Adobe\\ Acrobat\\ X\\ Pro/Adobe\\ Acrobat\\ Pro.app")
    set the_versions to the_versions & return & (do shell script "SW_vers")
    Output for this script yields exactly what I requested in the thread.  Ex:
    "kMDItemVersion = \"14.4.1\"
    kMDItemVersion = \"11.0.07\"
    kMDItemVersion = \"7.0.4\"
    kMDItemVersion = \"35.0.1916.114\"
    kMDItemVersion = \"10.1.10\"
    ProductName:          Mac OS X
    ProductVersion:          10.9.3
    BuildVersion:          13D65"
    I'd like to be able to run this command (or a variation) in Apple Remote Desktop (ARD) remotely, and as a UNIX command in order to generate a similar ARD report if possible.  Even better, I'd like the report to include the Application name and I'd like it to not to halt if an Application isn't present. My guess is that functionality like this for ARD would help a LOT of ARD Administrators because it would seem that the only way to do anything similar is to derive the metadata piecemeal (machine by machine) or end up having to wade through a ton of unwanted content using a full System Report...  Thanks.

    Forum software NOW prevents posting complete shell scripts. You'll have to piece together the code.
    First build an array of the applications that you are looking for in this form. Note; I truncated the applications.
    apps=( "/Applications/Microsoft Office 2011/Microsoft Excel.app" "/Applications/Adobe Reader.app" "/Applications/Safari.app" )
    Next loop thru the array
    for i in "${apps[@]}"; do
         printf "%s: %s\n" "$i" "$(mdls -name kMDItemVersion "$i")"
    done
    If you want to create a report then change the above loop to the following
    for i in "${apps[@]}"; do
         printf "%s: %s\n" "$i" "$(mdls -name kMDItemVersion "$i")"
    done > app_report.txt
    sw_vers >> app_report.txt
    Message was edited by: Mark Jalbert

  • Unix commands for Teachers?

    Anyone know a unix command to lock the volume on a client at a certain level? I have a script to "set" the volume. I don't want my students to be able to turn it back up.

    Have you tried using the man pages for the various commands? At the Unix command line, type "man top" (or "man <<executable name>>") and you'll get the Unix manual pages for each command. Those explain the purpose of the commands, the options and syntax, etc.
    Justin

  • Error message when using one of the built in unix commands for software upd

    I have RD3 admin software installed on my dedicated admin power mac and I have a test power mac machine on my local network. I can install packages fine using the package installer, however whenever i use the built in unix commands to list available updates on that target machinie, download available updates, or install available updates, i get the following error, any clues? ive tried running as current logged on user option, and the ARD User account I created on the machine, I can observe, control, curtain everything else, just these unix commands fail.
    Error NSURLErrorDomain -1100
    Software Update Tool
    Copyright 2002-2005 Apple
    mac mini   Mac OS X (10.4.3)  

    Check to make sure that the command is running as root. The template should enter that automatically, but try again and make sure it does.
    Hope this helps.

  • Where can I get an aide memoir of unix commands for Terminal?

    Like the title, does anyone know where I could get an aide memoir of unix commands?

    Terminal Commands - 10
    Terminal Commands - 50
    Terminal Commands - 250
    Terminal Commands - Secrets

  • Softwareupdate Unix command, feedback on CatalogURL in Leopard?

    I've been successfully updating my Macs from the Software Update Server on my Tiger server for some time. Tiger clients show feedback that they are addressing my server; the GUI client displays the server's address in the title bar, and the command-line tool puts up a line that it's loading the catalog from my server at the very beginning.
    Leopard clients have this very helpful feedback item removed! Neither the GUI client nor the command line tool (which I've been using over ARD lately) has any indication any more that they are pulling the updates from my server.
    Is there any way of getting this feedback info to display again?

    defaults write /Library/Preferences/com.apple.sharing.firewall state -boolean No
    followed by a reboot works like a charm. thanks for you help.

  • Which unix command for converting xml to pdf

    Anybody know the command in unix to convert docbook xml to PDF???
    is it xsltproc or pdfwrite???
    thanx

    "ooba" <[email protected]> wrote in message
    news:gl2klg$rap$[email protected]..
    >I know this is the Flex Group, but I'm getting no love
    from the Flash
    >group.
    > 1. I need to build a thick client
    > 2. I have 0 experience with Flex or AIR
    > 3. I have built alot of Flash web components and a few
    thick clients
    > 4. I only have one week to get something working
    >
    > Can anyone tell me if it is even possible for Flash to
    generate a PDF file
    > from an imported XML file? or to browse a systems and
    allow the user to
    > select
    > an xml file to load?
    You'd need to upload the file to a server and have the server
    do this.
    > I need to have the client select an xml file that and
    the thick client
    > would
    > then use a predefined xsl file and (missing this part)
    need to convert the
    > xml
    > out to a human readable PDF format.
    Depending on what server-side technology you are using, there
    are probably
    PDF libraries you could use.
    > If you have another suggestion on how to do this please
    post suggestions.
    >
    > All I know right now is that I need to construct a thick
    client to do
    > this,
    > and being that Flash has been what I have built thick
    clients on before
    > I'd
    > like to do it in Flash rather than try and figure out
    how to do it in C#
    > .Net
    > in less than a week.
    You won't be able to do it with Flash or Flex alone.
    HTH;
    Amy

  • Unix command to disable DVD drive?

    My DVD drive on my 20" intel imac is failing to eject the disk. It won't come out. I have done everything like restarting with the mouse held down etc etc. I am going to buy a cheap external DVD writer as a solution. The drive however is making a noise every 10 secs in what I guess is in an attempt to read the disk or eject it? What ever the noise is I want it to stop! Is there a command I can type in the terminal to kill or disable the drive so it quits trying to do what it is doing?
    Thanks in advance.
    Martin.

    Ask at the Unix forum under OS X Technologies. BTW, this Terminal command should eject the disc:
    *drutil eject -drive internal*

  • Smart HDD command for disabling AAC

    Hi all,
    I change my internal HDD on my mac mini.
    I intall Leopard on it .
    I found on the HDD manufacturer web site that the mode AAC (Automatic Acoustic Management) in the smart HDD items needs to be disabled.
    I know how to find the smart HDD status value ( in System profiler ), but I would like to know if a application exists to set or unset a smart value on a HDD under Leopard .
    It seems that the HDD firmware is delivered with the AAC value set to QUIET.
    Thank in advance for your help
    ben

    Yes the manufacturer give a DOS tool that can be booted from Floppy or CDROM . The problem is that my minimac doesn't boot the CDROM .
    I don't know how to boot this CDROM on my mac mini .
    Do you have an idea ?

Maybe you are looking for

  • Apps missing or not installed after update

    after i updated to the last nokia firmware on my E71 some apps where not there i got an error message from the setup wizard when i was trying to set up the email client saying INSTILLATION PACKAGE NOT FOUND CHECK THAT MEMORY CARD IS INSERTED. serious

  • Hyperlink data to specific data not the whole table

    On a table, I have a hyperlink on one of the columns. When I click on the data on that column, another page displays a table with all the data including the data that is clicked. I like to be able to click on the hyperlinked data and another page ope

  • Maintenance Plan Numbers created by system is out of sequence

    Hi, I have set the internal no. range of maintenance Plan as 100000000 - 199999999, I found system is generating plan no. as 100000001, 100000002, 100000010, 100000011. I have also checked the selection criteria on IP15 and IP24, Please tell me why m

  • Navigation keys stop working

    I downloaded Digital Editions from the Adobe site.  After 30 or 45 minutes the navigate keys stopped working.  (all arrow keys, page up, page down)  What must I do to restore operation?  Windows XP with SP-3, Looks like Digital editions 1.7.2.1131

  • Are the activation servers still down for creative cloud subscription purchases?

    Would like to know why I still can not open After Effects CC, asks for serial number even though I purchased membership.