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

Similar Messages

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

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

  • 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

  • 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 install updates for 10.9 Mavericks does not work

    Unix Command install updates for 10.9 Mavericks does not work
    These commands no longer work with 10.9
    softwareupdate -i -a
    softwareupdate -d
    Are there new unix commands for 10.9 to install updates?

    Now that Safari 7.0.3 is out there is actually something to update, here is the results:
    SYSTEM2 (192.168.1.6)
    Software Update Tool
    Copyright 2002-2012 Apple Inc.
    Finding available software
    Downloading Safari
    Downloaded Safari
    Installing Safari
    Done with Safari
    Done.
    Get Info on the system shows:
    Modified: Today 10:15
    Version: 7.0.3, Copyright © 2003-2014 Apple Inc.
    Regards,
    Shawn

  • How to authenticate UNIX command?

    As specified in KB article TS2754 <http://support.apple.com/kb/TS2754> I'd like to use this UNIX command to correct a user's computer:
    dseditgroup -o edit -p -a admin -t group _lpadmin
    I am trying to send this UNIX command via Remote Access 3.3 but each time it says:
    Please enter user password:
    Authentication failed.
    I thought that the fact that I am connected to the computer via Remote Desktop using the admin user and specifying that same admin user in the "Send UNIX Command" command setup would work but it obviously doesn't.
    So how do I properly send this command via Remote Desktop?

    Ack - there's more:
    KB article HT3511 <http://support.apple.com/kb/HT3511> is also relevant since these are networked users with mobile accounts. The problem is the same though: the script causes a prompt for authentication and I don't know how to address that in Remote Desktop.
    This article adds an additional potential issue if I have to send out a UNIX command for each mobile user specifically. It's much nicer when you can send one command to the whole network.

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

  • Expdb using Unix pipe command for max compression

    I think the answer to this is NO, but I thought I'd ask the questions anyway, in case some of the Oracle geniuses on this site have figured out a way around this.
    We have been using the existing exp/imp commands for years, due to the fact that we can pipe the output through a pre-setup file that will compress the data as it is written. Since we have moved onto the 10g and now the v11 software, we are starting to what to utilize the parallelism that is afforded in expdp, but don't want to deal with the space required for non-fully compressed exports that occurs with expdp.
    So the question is, has anyone figured out a way to use expdp and using 'on the fly' compression like you could do with the old exp utility on Unix boxes??
    Any help would be appreciated....

    Unfortunately, no--it has to do with the parallel nature of the file ops that prevents compression through a pipe. However, if you buy the Compression option in 11--you can compress on the fly.
    See this white paper.
    http://www.oracle.com/technology/products/database/utilities/pdf/datapump11g2007_quickstart.pdf
    Edited by: jdanton on Sep 2, 2008 3:12 PM

Maybe you are looking for

  • Error -5000 and: Error when loading the transcode setting

    For a couple of days I've been trying to export my project on a DVD, but on the half way of the transcoding it comes the Error -5000, and then there is such a message, something about the navigation, can't be found etc... I work on a mac OS X, using

  • TKPROF facility

    I have various procedures, functions that effectively make up the application. When a user submits a request via the web the processing is too slow I need to improve the performance of the application. To assist is the TKPROF the tool to use i.e. wil

  • A note of caution from cf/x

    As some of our customers report, iMovie 06 appears to have problems with some of our most basic plug-ins. While we do not know why this happens (after all, they are programmed strictly according to Apple's published documentation), this is an unfortu

  • Powerpoint Narration not in Presenter-Published swf

    1) Create PPT slide show 2) Record audio on slide with PowerPoint narration recorder (used to manage timing on slides and animations) 3) Playback PPT slide show: audio is present, timings work 4) Publish to "My Computer" with Presenter (version 7.07)

  • 1180: Call to a possibly undefined method... Possibly?

    I have buttons, that when clicked will create an instance in one of 3 movie clips within a movie clip. For instance, this works just fine: b_IF_4G5_TOP.addEventListener(MouseEvent.CLICK, b_IF_4G5_TOP_add); function b_IF_4G5_TOP_add(event:MouseEvent):