Slashdot Mirror


Mac OS in a Lab

jmu1 wishes to get to the core of the following issue: "I run a medium sized lab of Mac OS 8.6/9.x machines. They all have (shudder) FoolProof as an attempt of keeping the systems usable. Unfortunatly, it is quite easy to bypass the software, or even to remove it using AppleScript, etc. What I want to know is, what is a usable solution for securing a lab of Macs?"

37 of 97 comments (clear)

  1. OS X by voisine · · Score: 3, Informative

    install OS X?

    1. Re:OS X by jmu1 · · Score: 2

      Actually, the reason we still aren't running OS X(for which I already have a good secure setup) is that we don't have any way to make an image for it. I've tried using DiskCopy and ASR, but DC crashes... it's too big. I'm installing well over 6GB of programs etc...

    2. Re:OS X by MyNameIsFred · · Score: 3, Informative

      Look on VersionTracker for Carbon Copy Cloner, it great for copying MacOS X installations. Its simple and effective.

    3. Re:OS X by jmu1 · · Score: 2

      I think that it would be best to either try assimilator as others have suggested... that is if the OS X request doesn't go through.

    4. Re:OS X by jmu1 · · Score: 2

      We don't have any FW drives :( I do know that we can hook them up machine to machine to do it, but that's sort of out of the question. I have looked at mike's site... He's a good guy and has helped me in the past. As a matter of fact, he is the guy that got me hip to using DC and ASR! Before, the lab manager who had been there had been just copying the contents of the harddisk to a folder... that doesn't really work very well. Settings for programs, icons, etc. don't translate.

    5. Re:OS X by artfulbodger · · Score: 3, Informative

      Carbon Copy Cloner is pretty good for getting OS X onto a machine initially, but would be a pain for regular maintenance. I actually use ASR for initial install (macosxlabs.org talks about it here).

      I use radmind for regular maintenance of the machines in the the labs I run. It's a powerful unixy tool, a little tricky to get the hang of but it's well worth the effort.

    6. Re:OS X by DavidRavenMoon · · Score: 2
      Why not run everything off a Mac OS X Server box? NetBoot all the other Macs. This way all the client Macs can't change anything on the server.

      And also you only have to install the applications once.

      I've worked at a few places that did this, and also some that used FoolProof... God I hate that program!

      --
      -- if it was so, it might be; and if it were so, it would be; but as it isn't, it ain't. That's logic - Lewis Carrol
  2. Upgrade to OS X? (nt) by nosferatu-man · · Score: 2

    'jfb

    --
    To spur "enterprise Linux," Big Bang, the distributed two-phase commit.
  3. Assimilator by Dephex+Twin · · Score: 2

    I would definitely go with something that returns the system to a default state on reboot as opposed to locking down the whole thing. In our Mac lab at my school, we used Assimilator. You can actually use the desktop and download a little program or two if you want, and on reboot, the system syncs back to a default state. Works great.

    --

    If you want to make an apple pie from scratch, you must first create the universe. -- Carl Sagan
  4. Let Them Go Crazy by potuncle · · Score: 2, Informative

    For each diffrent configuration, make a copy of the Applications and System Folder (you could burn them onto a CD).

    Let the kids do whatever they want. When a system becomes unusable delete the existing Applications and/or System Folder and copy a fresh one from you backup copy.

    You can just copy the folders or use Disk Copy or Stuffit to create single files out of the folders. I have know users that have had great sucess using Disk Copy and System Restore to restore custom configurations.

    This is one of the many reasons I love Mac's. I can restore an OS 9.2 or newer computer to a default configuration as fast as I can copy files off a CD or over the network.

  5. Re:How Secure? by jmu1 · · Score: 2

    I'd like for students to not feel inhibited in their activities... but then again, I put a whole lot of work into getting the machines into the state they are in. I tend to not like having to re-image them every morning.

  6. Netboot by SandSpider · · Score: 5, Informative
    Okay, let's try that again, this time with more information.


    Netboot is some nice technology from Apple. It allows you to set up a default system on some server, then have the computers on your network boot from that server. When the computer reboots, it reloads the system from the image on the server, rather than from something on the hard disk. It is very difficult for a user to change the information on the server. It's not impossible, but we all know that undefeatable security doesn't exist.


    But NetBoot was made for exactly this sort of situation, so it's definitely worth checking out.


    =Brian

    --
    There is nothing so good that someone, somewhere, will not hate it.
  7. Re:NetBoot by jmu1 · · Score: 2

    We are trying to get a copy of OS X 10.2 Server. We have a copy of OS X Server 1.2 but it doesn't seem to like me messing with it much, and as per usual, I can't find any documentation for that software... anywhere. There is no telling if we will actually get the funding at this point, hince the story submission.

  8. revrdist/Assimilator by mbrubeck · · Score: 5, Informative
    My school used Assimilator to manage its Mac labs. This is a commercial program by Peter N. Lewis of Anarchie fame. It works by synchronizing all lab computers to a disk image stored on a server. I like this because it leaves the computer fully functional -- users can download or run whatever they want while they're using the computer, and at the end of the day (or end of week, or whenever the admin feels like it), the disk is restored to a pristine image. It doesn't provide the same level of restrictions as FoolProof, but I consider that a good thing.

    revrdist is a free (public domain) program with the same basic function. Its setup is a bit more involved and it doesn't have all of Assimilator's features, but it's a well-tested program that definitely works. Use it if you can handle the extra administration and prefer a free solution. The reverdist home page also has links to other Mac administration programs.

    1. Re:revrdist/Assimilator by jmu1 · · Score: 2

      Thanks for the links... I'll be checking those out in the AM tomorrow. There isn't a way to just copy the program off the pc and reboot is there? That is the whole problem we have with FoolProof...asside from having to be so damn restrictive on users.

    2. Re:revrdist/Assimilator by jhealy1024 · · Score: 4, Informative

      Amen to revdist. I administered the mac labs at my college in the pre-osx days, and I used revrdist to do so (about 60 machines). We looked into netbooting, but there's a fair amount of net traffic for that, so the net guys said no. revrdist is also a lot of traffic, but only during disting. If you set the boxes to boot early in the morning, the dist happens when nobody's around and the network isn't clogged.

      It is tricky to set up (uses a weird flag-based config file), but once you've got it tweaked right, administration is a breeze. Just burn a CD with a bootable system folder and revrdist on it and you can boot a hosed machine off the cd, copy the sys folder over, reboot, and the machine will fix itself.

      We looked into using a "lockdown" program to prevent abuse of the machines, but decided that people who want to get around it will. revrdist helps lower the blood pressure by ensuring that fixing any software problem takes 5 minutes of your time, at most. You stop caring if people hose the machines because it takes much longer for them to wreck 'em than it does for you to fix 'em.

      As a bonus, installing new apps on the machines is easy -- just update the server, set the macs to reboot every morning at 4am (energy saver control panel), and you're good to go!

    3. Re:revrdist/Assimilator by extra88 · · Score: 2

      Here's how you use Assimilator. Set up your perfect machine and upload it to your file server. Create an Assimlator client app (the Admin app creates it for you) which is set to pull the files from the shared "perfect image." Try running it on one client and see what breaks. If there are files which need to be unique on each machine, Assimilator uses special filename suffixes on the perfect image to identify them (a character like a diamond followed by the client's AppleTalk name). Assimilator also uses label colors to identify how different files/folders should be treated, the two most useful being the "always erase" and "never erase." If you have different models of Macs, there may be some extensions you don't want to download to all machines.

      We use a cron program to automatically run Assimilator at night plus an Empty Trash program which does what it says.

      You don't have to put the perfect image on a a file server, it can be on any mountable volume. I've thought of making self-assimilating machines which would have a disk image containing the perfect image. The only time there would be network traffic generated is when lab staff had to replace the disk image file. However that makes the software deployment aspect less convenient.

      We hope to switch to OS X in the lab this Spring but haven't really done much preparatory work yet. We'll probably use RsyncX, Mac Manager, and the built-in restrictions to keep those machines in shape.

    4. Re:revrdist/Assimilator by wirelessbuzzers · · Score: 2

      This may be a biased comment, but the only setups of revrdist that I have seen have not been worth jack. This is probably just due to incompetant systems administrators, but the systems seemed to be easily cracked and revrdist easily disabled. If you do use it, set it up carefully. I am not an admin and don't know the options, just that if not set up right, it sucks.

      --
      I hereby place the above post in the public domain.
  9. Re:NetBoot by SandSpider · · Score: 3, Informative
    The documentation should all be on Apple's Site.


    Let's see...The OS X Server Admin Guide is a very long document that should tell you anything you need to know about setting up the server. All of the rest of the information is at Apple's OS X Server Site.


    Net boot shouldn't need Jaguar Server. If you can get, or have, a copy of a later AppleShare server software, then you should be able to use the Macintosh Manager on that.


    =Brian

    --
    There is nothing so good that someone, somewhere, will not hate it.
  10. Re:NetBoot by jmu1 · · Score: 2

    I really did try using the documentation but it wasn't of any use to me at all. I couldn't find out how to create a new image to use with it, nor how to specify what image to use, nor how to control it. It really was a pain. The OS X Server version I have is really really old. I still don't know why they even shipped it. I've had to reinstall it several times because it would just lock up... not doing anything with it... it'd just lock up. As far as MM goes, I really couldn't find any useful docs on it. It seems the more I read Apple documentation, the more it seems that Apple documentaion is another form of marketing. At every turn it seems that instead of describing the steps to get something done, they are telling you all the great things that the software can do. I've spent countless hours and bottles of carbonated caffine trying to get some useable stuff out of those docs(and their Carbon docs... trying to write for OS 9 and X is not nearly as easy as they make it sound). I'm just at my wit's end.

  11. you sure about that? by Stenpas · · Score: 3, Informative
    Easy to bypass foolproof? No offense sir, but if you can't set up foolproof correctly, then you should not be admining that lab.

    For those who have never used it, it's a cheesy-looking program, but it's a great solution for computers that run MacOS 9 and below. You can set it so you can't get info, move files, and there is a list of allowed/disallowed programs. Bypassing by holding down shift at startup won't work, etc.

    There's a whole lot of other stuff it can do. All in all, when set up correctly, there is one way to bypass it, and one way to mess up a system, which I will not go into detail about. Our setup apparently works well, because I haven't seen any students bypass it.

    Seriously, anyone who's used it knows that you just click on a bunch of check boxes and maybe disallow a few programs. Changing the default password is a good idea also. This is not a difficult thing to do.

    Sten

    1. Re:you sure about that? by extra88 · · Score: 2

      A lab I visited on occasion didn't disallow the execution of apps on remote volumes which is how I was able to run the programs of my choice, simply by puttin copies of them on an AppleTalk share with the Type and Creator codes changed to match Notepads (FoolProof uses Type/Creator codes to identify what can or cannot be run).

  12. Re:MacPrefect by coolgeek · · Score: 3, Informative

    MacAdministrator is the network-aware product from the same company as MacPrefect, Hi Resolution Systems.

    My buddy and I run a network composed in part of around 100-110 Macs in a High School environment. We've had fairly good success with MacAdministrator, although using "Target Disk Mode" is a way to defeat it with a firewire cable and a handy student-supplied notebook. I assume the same applies to MacPrefect. Nonetheless, it keeps the kids from making stupid mistakes that would otherwise cost big support time.

    It also has some neato features that log you in automagically to servers and puts an alias to a home folder on the user's desktop. You can also deploy software remotely, although we prefer Retrospect for workstation production. We use remote deployment when appropriate.

    The guys at Hi Resolution are top-notch, IMO, and always provide sensible answers. The documentation leaves a lot to be desired because while every module is extensively and exhaustively documented, there are no solution-oriented/howto guides. Their tech support fills that gap pretty well.

    --

    cat /dev/null >sig
  13. Really can't do it. by gerardrj · · Score: 4, Informative

    Older Macs don't have the OpenFirmware ROMs, and so don't have the ability to lock out alternate boot devices, I recall they also can't boot to the network. You don't mention what type of protection level you are trying to achive, or the repricutions of a security failure, I can't really get a handle on that from the responses either. Is this just a lab on campus where you want to keep games and P2P apps off the systems, or is this a research lab where a breach could cause panic or lost money or saftey concernes?

    Unless you remove or disable the floppy, CD-ROM drive, and external SCSI connector you have little chance of truely securing a Mac lab. There will always be some way for a malcontent to get control, rather easily in fact.

    I recall some stuff like DiskVault, I think, that would alter the directory layout or something so that unless you booted to the drive that was protected, you couldn't use the protected volumes. Of course, installing the software on a bootable CDR would get you around this, as would booting to an external drive that the hacker controlled and had installed the software on.

    Personally, I have never encountered a disk/system lockdown utility on older Macs that I couldn't bypass with an alternate boot disk and, at most, a few hours of tinkering. The most you could ask for is that wandering lab monitors might find people hacking the thing before it goes too far. Anectodally, at one place I worked they installed GraceLAN to keep track of app lauches, prevent software installs, force LAN-wide software installs, etc. I used ResEdit and a disk editor on a floppy to locate the admin password. I then installed the admin program on my own system and force installed the old "Energizer Bunny" init on all 120 systems in the office. Of course I renamed it to something like "Apple SoundManager Tuner". THAT was a blast!

    If it's just simple protection to keep the honest people honest: use SimpleFinder or AtEase that each limit what users can do. For all its problems, AtEast is a nice little application/Finder replacement for labs. It allows you to create a tab for each type of application, or on a per-course basis.

    --
    Article X: The powers not delegated... by the Constitution...are reserved...to the people
    1. Re:Really can't do it. by b1t+r0t · · Score: 2
      Older Macs don't have the OpenFirmware ROMs

      Actually, all PCI Macs have OpenFirmware. You just don't know it because older ones are normally configured to talk through the serial ports. XPostFacto will let you change this to keyboard/video.

      --

      --
      "Open source is good." - Steve Jobs
      "Open source is evil." - Microsoft
  14. MacManager by akgunkel · · Score: 2, Informative

    A year ago I was the admin for an edu network with ~200 macs. I used MacManager on them. I never had any problems with the any of the brighter students breaking it. None of my macs were ever screwed up from tampering. I did have problems with earlier versions of AtEase though...

    Assimilator sucked hard in it's early days (circa 1998.) It was pretty easy to bypass. I'm not sure how it is now.

    YMMV

    Now I work on a corporate network with Win2k. PCs may be "real computers" in the eyes of most geeks, but being the admin for a Mac network is a hell of a lot more fun.

  15. Re:OnGuard by DiscoOnTheSide · · Score: 2, Informative

    I work for the computing department of Rutgers University. We secure our macs with assimilator, and we dont have many "misuse" issues. This is with G4 450Mhz towers and 700Mhz eMacs but I hear the system has been used for a while so I imagine your results would be similar

    --
    Viva La Revolucion! Buy a Mac!
  16. Not OnGuard by OrangeHairMan · · Score: 3, Informative

    OnGuard, a program by the guys at PowerOn Software, has many security holes in it, so I can't reccomend it. It is easy to get by (like accessing someones files on a server is just as easy as going into Netscape and going file:///Server/), and only protects from normal file and OS stuff, like launching, deleting, moving, etc. Anything that bypasses the OS, like Internet Explorer, AppleWorks 6, and others can get by easily. (Ex: AppleWorks 6's normal open dialog shows everybody's folders (While ClarisWorks 5 does not), and Internet Explorer allows anybody to launch any apps that are on any of the hds.)

    You can try it, download the demo, but try and get past it and you you'll see how easy it is. Or not. At my school, the security is a joke. So test it, if you like it, use it, but I reccomend against it.

    More info here: http://poweronsoftware.com/products/onGuard/.

    Orange

  17. Inhibit away... by lsommerer · · Score: 2, Interesting

    I administer a high school mac lab with Foolproof, and I don't see anything wrong with locking them up fairly tight.

    They have access to all the tools they need for classes and research, but most other things are locked. And everything that could make life miserable for the next person to use that machine is locked. Storage is available for each student on the server.

    We occationally do games after school, and I unlock those programs at that time.

    I inherited the FoolProof solution, and can't say anything about it's overall security, but we haven't had any troubles with it. I do think it's important to recruite any students that are showing enough interest in doing things that make your life tougher (might as well just put them to work).

    It's also important for the students to know what type of things will get their computer access terminated.

    1. Re:Inhibit away... by Tuzanor · · Score: 2
      I'm not sure about the Mac version of foolproof, but the Windows version SUCKS (or at least sucked, its been 3 years since i graduated from HS).

      Firstly, it was way to easy to get around. Just boot off a DOS floppy and move foolproofs exexutable. Oops, "cannont find foolp.exe" (or whatever it was called). Secondly, it had this REALLY annoying bug, where you could move the taskbar out of the way, but you could not bring it back up, needless to say, the punk kids had a ball with this one...

  18. I know a way... by ike6116 · · Score: 2, Funny

    AtEase anyone? :-D

    --

    Are you secure enough in your masculinity to run 'man touch'?
  19. Re:Ah the Memories by MalleusEBHC · · Score: 3, Funny

    It drived my teacher insane.

    If that was your English teacher, I doubt that's the only thing that drove her crazy.

  20. Proof that the poster is Ralph Wiggum by Lovejoy · · Score: 2, Funny

    Look Lisa: I learnded!

    Me fail English? That's unpossible!

  21. Yuppy pants by Graymalkin · · Score: 3, Insightful

    There's tons of different solutions that have been outlined here, it seems from your comments you dismiss them because they "encumber" your students and make them feel bad and icky. It is not their network nor are the computers theirs, they don't have rights to them. Lab computers belong to whoever owns them and not whatever student sits down in front of them. If you're worried about them feeling encumbered by your security you're not doing your job properly.

    You make the systems secure so no one can easily screw them up preventing other students from using them. There's a lot of jackasses that love to break systems or "customize" them preventing anyone else from getting any use out of them at all. There's also the people who feel that because a school has a particular amount of bandwidth, they ought to be able to monopolize it to download ripped DVDs and MP3s. You secure your systems and your network so everyone can use it because it is a shared resource. You aren't supposed to leave systems wide open for them to be abused.

    Let people do what they need to do with as little hassle as possible. Don't allow people to abuse your systems though. I've managed a Mac lab before and the previous admin decided not to lock down any of the systems. The computers crashed constantly and hardly anyone could get on the web. I spent weeks getting Carracho servers, SETI@Home clients, and copies of Starcraft off all the systems. After the systems were locked down we didn't have any problems. If people want to play Starcraft or run a Carracho server (which was probably used to ship off copies of software we had) they can do it at home. They don't need to use your lab for it unless you specifically allow them to.

    --
    I'm a loner Dottie, a Rebel.
  22. rev r disk by Suppafly · · Score: 2

    They use rev r disk here to manage the macs.. not sure if its good persay, but it seems to get the job done.. then again not that many people use the macs.. and the ones that do bitch about them taking 15 minutes to load up because the previous users killed it before rev r disk could finish.

  23. not all that hard by bill_mcgonigle · · Score: 2

    I once worked in a place where they got rid of a bad employee who had installed foolproof on a production machine (without permission). After he left, they asked me to get into the machine. Tried a few basic things inside foolproof, which didn't work. So, I grabbed my tools drive, hooked it up to the SCSI port and forced an external boot. Did a little HDT fiddling, and the system was back. It could have been done with one of those System 7.5/HDSC Setup floppies too.

    You sort of have to know how macs use hard drives, but beyond that, if the user has physical access to the boot drive there's not much you can do.

    The Netboot suggestion is a good one.

    --
    My God, it's Full of Source!
    OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
  24. FoolProof had some vulnerabilities. by Andy+Dodd · · Score: 2

    FoolProof's developers trapped the API at a point where it would interfere with MOST applications.

    In fact, in the cases of applications where FP was defeatable, only certain parts of that application might bypass FoolProof.

    Specifically, back in high school about 6 years ago, I took a BASIC course (easy A :). They used some wacko dialect of Basic called TrueBasic.

    Well, FP worked to block file access for TB's normal file open/close functions. (Specifically, the editor open/close)

    But anything that you compiled would access files like FoolProof wasn't there.

    3 lines of code replaced the FoolProof program with a 0-byte text file.

    --
    retrorocket.o not found, launch anyway?