Slashdot Mirror


Locking Down Linux Desktops In an Enterprise?

supermehra writes "How do you move 300 desktops, locked down with Windows ADS Group Policies (GPO), over to Ubuntu desktop? We have tried Centrify, Likewise, Gnome Gconf, and the like. Of course, we evaluated SuSe Desktop Enterprise and RedHat Desktop. Samba 4.0 promises the server side, however nothing for desktop lockdown. And while gnome gconf does offer promise, no real tools for remotely managing 300 desktops running gnome + gconf exist. All the options listed above are expensive, in fact so expensive that it's cheaper to leave M$ on! So while we've figured out the Office suite, email client, browser, VPN, drawing tools, and pretty much everything else, there seems to be no reasonable, open source alternative to locking down Linux terminals to comply with company policies. We're not looking for kiosk mode — we're looking for IT policy enforcement across the enterprise. Any ideas ladies & gentlemen?"

80 of 904 comments (clear)

  1. Puppet by BSAtHome · · Score: 5, Informative

    Use puppet to enforce configuration: http://reductivelabs.com/products/puppet/

    1. Re:Puppet by binner1 · · Score: 5, Informative

      I was going to say CFEngine, but that's only because it's what I'm currently using. I'd love to move to puppet but at the time we deployed CFEngine, puppet wasn't ready for all the things we needed it to do (windows and solaris in addition to linux)...this has likely changed now, but we've got a lot of cf scripts that would need conversion.

      Whichever tool is chosen (there are others in this space too), I believe this is the correct answer. I know that CFEngine scares a lot of people off (and maybe puppet does too?), but it is an excellent way to manage a large set of hosts.

      -Ben

    2. Re:Puppet by Anonymous Coward · · Score: 3, Informative

      Yes, Puppet and CFEngine look like the modern solution.

      At our small office (up to 10 desktops), we use Fedora (from Core 6 to 9), plus NIS+NFS+autofs for user account+directory file management, installed from a centralized DHCP+PXE+NFS+Kickstart installation.
      Then we have our own home-brewed root crontab scripts (deployed by kickstart post-install) that:
      - replaces local files from centralized versions (some are just text files, others are sym-links, others are firefox plugins - like Adobe's flash player).
      - install specific binaries from our own yum repositories, and keeps the local package list consistent with central configuration listings
      (which is also used for the initial kickstart
      installation).

      But if we started again today, we would also have gone for puppet or cfengine for post-install configuration management.

      Nevertheless, we face many problems with:
      - OpenOffice files locked over NFS (not to mention that frequent OpenOffice MS-Office format interchange suffers from several problems).
      - thunderbird crashes requiring expertise for .lock file removal
      - firefox crashes requiring expertise for .lock file removal
      - non-technical users always finding new ways to download and install software on their home dirs that behaves badly over NFS.

      Joao (at http://www.pdmfc.com/english)

  2. Mittens!!! by RecursiveLoop · · Score: 5, Funny

    Issue everyone Mittens!!!! They are relatively cheap and make it oh so hard to type terminal commands when worn.

  3. Is Samba 4 ready? by ikirudennis · · Score: 5, Informative
    from the FAQ:

    Can I use Samba 4 on my production server right now? No. Samba 4 is still under heavy development. Samba 4 is not due to replace Samba 3 soon. Many of the required core features are present, but the code is still alpha and user tools as well as some core features are still missing.

  4. LSTP by IANAAC · · Score: 4, Insightful

    Why not use LSTP? That way you only have to worry about whatever image(s) you keep on the server.

  5. Come on... by Anonymous Coward · · Score: 3, Insightful

    so expensive that it's cheaper to leave M$ on!

    If you want to be taken seriously, please lern 2 spel currektly. I'm not a Microsoft fan, but it sure is annoying seeing it spelt like that.

  6. dumb terminals? by timmarhy · · Score: 5, Insightful
    if your talking about dumb terminals, your making me hot. sexy little gadgets with no fans or moving parts. in this instance you can lock down any of the major desktop environments by modifying their default user to have a really low level of user access , so when you create a new user it inherits these settings. gnome,kde and xfce all have this ability. and since they are terminals an logging into a central server management is dead easy.

    if you are talking stand alone desktops then it's not so great. linux doesn't really have anything as good as group polices and active directory, it's part of the reason corperate networks are mostly windows.

    --
    If you mod me down, I will become more powerful than you can imagine....
  7. What are you trying to do? by Todd+Knarr · · Score: 5, Insightful

    I guess the first question is: what are you trying to accomplish? Are you trying to prevent users from installing additional software locally? Are you trying to insure that particular applications get particular preferences set and users are prevented from changing those settings? What? Just saying "lock down the desktops" doesn't say what you're trying to actually do.

    Remember that Unix is, in large part, designed to work correctly without needing to be locked down. Much is controlled simply by the system-wide configuration files. The rest tends to be controlled on the server side, so that users simply can't do unacceptable things regardless of how they configure their local user account.

    1. Re:What are you trying to do? by jtownatpunk.net · · Score: 4, Insightful

      Never underestimate a user's ability to fark up something that is, in theory, unfarkupable.

    2. Re:What are you trying to do? by QuantumRiff · · Score: 4, Insightful

      You are looking at it from a system security perspective, not "IT Policies" perspective. He needs to be able to disallow solitare, force all connections through a proxy server for web filtering, pass down 802.1x keys, force people to use a certain network printer, etc...

      --

      What are we going to do tonight Brain?
    3. Re:What are you trying to do? by msobkow · · Score: 4, Interesting

      I admit I'm puzzled at the issue of "lockdown" myself.

      For years whenever we needed to lock down a *nix account, the sysadmins would install the software as root and set up the user accounts in capture mode (i.e. .login starts the X session, and the X session doesn't have the ability to add/remove programs.)

      I can't imagine needing to lock down a session any tighter than that, and I've never seen a Windows desktop that was locked down any tighter, either.

      --
      I do not fail; I succeed at finding out what does not work.
    4. Re:What are you trying to do? by whoever57 · · Score: 4, Interesting

      You are looking at it from a system security perspective, not "IT Policies" perspective. He needs to be able to disallow solitare, force all connections through a proxy server for web filtering, pass down 802.1x keys, force people to use a certain network printer, etc...

      All these can be enforced using control of the services. The problem statement reflects the Microsoft/Windows way of doing things. Turn it around and ask how the network can enforce the policies.

      Proxy: the firewall can enforce this. Users don't use the correct proxy? No web access. Printers: Configure the printer to allow only certain users/groups, etc. etc..

      --
      The real "Libtards" are the Libertarians!
    5. Re:What are you trying to do? by fm6 · · Score: 4, Insightful

      I like this version better: No system is foolproof, because fools are fiendishly clever.

    6. Re:What are you trying to do? by mysidia · · Score: 5, Informative

      (1) Don't install any solitaire program. Mount users' home directories noexec, don't give users root access. They won't be playing solitaire. This also prevents them from downloading solitaire off the web... blocking winsol.exe in Windows group policy doesn't stop any of this, and doesn't stop users from copying winsol.exe to some innocuous filename like C:\excel.exe

      (2) iptables rules can be set to deny web access except through the proxy.

      (3) Passing keys is just a single example of central config management, there are tools for this as well, like cfengine, bcfg2.

    7. Re:What are you trying to do? by magamiako1 · · Score: 4, Insightful

      Multiply this by about 500 machines, and then the ability to later on down the road be able to change it without having to completely redo them or find some screwed up roundabout way to push out to every machine via scripts...

      You'll quickly turn to the Windows way of doing it.

    8. Re:What are you trying to do? by Eil · · Score: 3, Insightful

      You are looking at it from a system security perspective, not "IT Policies" perspective.

      Most "I.T. Policies" are stupid and written by control freaks with no managerial sense.

      force all connections through a proxy server for web filtering

      The ridiculousness of web filtering aside, this is easily accomplished by pre-made config files in /etc/skel.

      pass down 802.1x keys, force people to use a certain network printer,

      Again, /etc/skel or something like Puppet works fine here.

      He needs to be able to disallow solitare,

      Oooh, this is by far my favorite, that's why I saved it for last. If you're to the point where you're seriously considering disabling solitaire, this reveals a number of things about the organization:

      1) The I.T. staff and/or managers are unapologetic control freaks and perhaps even proud of it.
      2) You don't trust your employees to actually be productive on their own.
      3) Your hiring standards are probably pretty low.
      4) You have unrealistic expectations of employee efficiency.
      5) Morale must really be in the toilet already.
      6) It's solitaire for fuck's sake, possibly the most boring game ever devised. If your employees are playing it instead of whatever they should be doing, that means they have no motivation to work, which means management should be the ones to get their lunchtime games taken away, not the employees.

    9. Re:What are you trying to do? by mysidia · · Score: 5, Informative

      Didn't I mention bcfg2? cfengine and bcfg2 are tools that is used to do just that, force tens of thousands of machines to comply with approved configurations, and remediate machines that don't, by making them match the approved configurations.

      And yes, you can remove software, set iptables rules, distribute keys, etc, using pre-made open source software available for Linux.

    10. Re:What are you trying to do? by citylivin · · Score: 5, Insightful

      "Then how do we prevent people from bringing in USB printers from home and connecting them locally"

      Id say if someone has to bring in their own printer, your company has bigger IT problems...

      --
      As a potential lottery winner, I totally support tax cuts for the wealthy
    11. Re:What are you trying to do? by domatic · · Score: 3, Interesting

      Device entries can have permissions set on them and even the newer systems for autoconfiguring peripherals can have specific rules written for them or only add devices for specific users. If you want absolutely nothing to happen when a strange device is plugged in, that can be arranged.

    12. Re:What are you trying to do? by jamstar7 · · Score: 3, Informative

      I like this version better: No system is foolproof, because fools are fiendishly clever.

      The problem with making things idiot proof is you generate a better class of idiot.

      As to the problem at hand, there are tons of things you can do to keep users out of trouble. Biggest one is, keep them from accessing sudo. Easiest way to do that is, create an 'admin' account on the machine before generating user accounts. Only the first user account on a Ubuntu machine has sudo access automagically. Additional users need to be added manually to the sudo group. Remove any and all software that you don't need. What those software pieces are would depend on your application. Then add the necessary maintanance scripting run as cron jobs, things like apt. Edit the /etc/apt/sources.list to restrict repositories. What I'd do then is, recut a master CD using Ubuntu Customisation Kit so you have a 'standard' install, and set up an inhouse repository for updates, fed from the inhouse server. Since the workstations only look at the inhouse repository, they should only be able to install from the local server. And if they're locked away from apt, that shouldn't be a problem.

      --
      Understanding the scope of the problem is the first step on the path to true panic.
    13. Re:What are you trying to do? by jmorris42 · · Score: 4, Insightful

      > Then how do we prevent people from bringing in USB printers from home and connecting them locally?

      Well it seems to me you are dealing with one of two scenarios.

      1. Users are so desperate to get work done they are working around IT stupidity. History repeats itself. Microcomputers were often brought into the workplace to get around the stupid restrictions the high priests of IT put on access to the minicomputer/mainframe. And a lot of minis initially came in to get local control of computing away from the lords of the mainframe at corporate HQ.

      Solution: Replace the IT people and let employees so motivated they were bringing their own printer do their part to get the economy going again.

      2. Users doing nefarious things like printing out company secrets.

      Do you think they won't work around any restrictions short of putting epoxy in the USB ports? And if you do that they will clone the MAC address onto a laptop and connect it in place of the locked desktop. Money motivates.

      Solution: In such a secure environment they should be using terminal services to keep them away from physical access to the hardware that can compromise security. When you catch someone probing the defenses get rid of them before they figure out a way in. If you can't trust them they shouldn't be allowed anywhere near secrets. If they have to the bastards will take screenshots with their damned cellphone.

      --
      Democrat delenda est
    14. Re:What are you trying to do? by Bob+The+Cowboy · · Score: 3, Informative

      Or, Trolly McSourface, if you read the myriad of other responses, it works just fine. Simply don't install games in the default OS install (trivial), and mount the filesystems as noexec (can you even do that in Windows, your oh so powerful OS? Not that I'm aware of...). Done.

      And yeah, that doesn't make it any less of a dumb idea.

      In windows, the user just downloads some stupid solitaire off the web, or brings one from home that or something that doesn't require installation.

  8. Indeed it is a problem by Anonymous Coward · · Score: 5, Insightful

    In linux world, there is yet to be a quick, 3 question and 1 button way to add the computer to a domain and then receive straight away:
    - group policies - security and software install
    - single password store (with cached passwords for notebooks that go away from the network)
    - Patch update policy

    The only thing linux does right is work on technologies such as DHCP that were written for OTHER unix O/S'.

    Ubuntu is not interested in those things, they're more interested in making stories about koalas and hiding popup boxes.

    Gnome is dead, Mono and moonlight took all their brains away.

    kde is making a next-gen desktop but have yet to understand why so many IT shops have kept Windows at the office.

    This is all depressing. Windoze will never be replaced at the current rate.

    1. Re:Indeed it is a problem by Arker · · Score: 4, Insightful

      This is very much like when (several years back) I was told Linux wasnt ready because there was no antivirus or defrag available.

      If all you know is Windows then you imagine these things are critical to the operation of a corporate network. They arent. They're patches plastered all over an inherently poor design to allow it to (sort of) function in that environment.

      With a real OS the actual underlying goals these things serve are served without the need for the specific windows-centric functions to patch windows-specific problems.

      --
      =-=-=-=-=-=-=-=-=-=-=-=-=-=-
      Friends don't let friends enable ecmascript.
  9. What lockdown do you need? by whoever57 · · Score: 5, Informative

    A desktop where the user does not have su/sudo access is already pretty locked down -- the user can only write to his home directory and other directories that he/she has access to through normal permissions.

    If you really want to lock it down, the user's home directory can be mounted in such a way that files cannot be executed from there.

    What elso is required?

    --
    The real "Libtards" are the Libertarians!
    1. Re:What lockdown do you need? by shutdown+-p+now · · Score: 4, Informative

      What elso is required?

      The ability to quickly and easily set it all up on all machines on the network at once, and to change permissions later with equal ease, without having to ssh into each and every machine on the network.

    2. Re:What lockdown do you need? by mysidia · · Score: 3, Informative

      The ability to quickly and easily set it all up on all machines on the network at once, and to change permissions later with equal ease, without having to ssh into each and every machine on the network.

      That's a job for cfengine/bcfg2 or puppet, and a couple scripts to maintain exactly what you want. There are tools that can do this sort of thing very well.

      And you can also easily set it up so you can detect if a system has fallen out of compliance for some reason, and possibly send you an e-mail.

      Windows group policy just silently re-imposes itself, without sending you any notice at all, that somehow a setting got changed in a way that violates the policy.

  10. Re:How about: less douchebaggery? by Registered+Coward+v2 · · Score: 5, Insightful

    Instead of spending $$$ on bondage and discipline, how about treating your users like adult human beings?

    Because a number of them will wind up installing aps that put the company at risk?

    --
    I'm a consultant - I convert gibberish into cash-flow.
  11. Re:Security-Enhanced Linux by magamiako1 · · Score: 4, Informative

    SELinux is not what he's looking for.

  12. Huh? Its unix by nurb432 · · Score: 4, Informative

    If you just manage the users properly and NFS mount applications it almost takes care of its self and don't need an extra layer of complexity.

    use PXE+XDMCP and the workstations be come irrelevant

    --
    ---- Booth was a patriot ----
    1. Re:Huh? Its unix by Facetious · · Score: 3, Insightful

      Finally! Thank you. I can't believe I had to read so many posts on slashdot of all places before someone points out the obvious. I recommend the OP googles "root over NFS." To reiterate, don't try to do Linux the Microsoft way. Also, please disregard all these stupid AC posts about Linux not being ready for the corporate desktop. Unemployed MCSEs are just yanking your chain.

      --
      Let us not become the evil that we deplore.
  13. 3 years ago (or so) ... by DF5JT · · Score: 4, Insightful

    I remember an article about KDE's long term strategy to be just that: an enterprise ready Desktop with fine grained policies, central administration and all the fluff that makes windows enterprise-ready and the de facto standard for the desktop.

    IToday, we have a colorful disaster that isn't even as usable as its predecessor. Developers should have focused on the need for an enterprise desktop that could actually make a dent in MS corporate sales. Instead we got useless eye candy.

    The fault, of course, lies with the big distributions that pride themselves on providing enterprise ready Linux. Enterprise sans le Desktop. Useless wanking. The requirements for an enterprise ready desktop are out there for anyone to see and it's not just "applications" as everyone usually points out. It's the ability for administrators to create and maintain a usable desktop according to official corporate policies. No more and no less.

    1. Re:3 years ago (or so) ... by ozphx · · Score: 4, Insightful

      The thing about that is it would require some very skilled programmers to do some very boring things. Generally this requires large infusions of cash and/or beers.

      --
      3laws: No freebies, no backsies, GTFO.
  14. policies by TheSHAD0W · · Score: 3, Insightful

    locking down Linux terminals to comply with company policies

    Sooo, what exactly ARE these company policies?

  15. Re:You don't by Ex-Linux-Fanboy · · Score: 3, Interesting

    You know, as much as I agree with you, I wish it were not so.

    More and more things are getting tied to a computer. Back in the early 1990s, a computer was generally used for number crunching and document managing. People (generally) did not use a computer to listen to music, watch a movie, meet people, or to stay in touch with one's friends.

    Now people are using computers for all of these functions. It's important that things we need for daily living in the 21st century are not controlled by a single corporation with a known pattern of abusive behavior. Microsoft's latest abusive behavior--suing TomTom for having FAT32 support on their device--shows that the only thing stopping Microsoft from abusing their monopoly are antitrust laws and community activism.

    This is why Linux needs to fix the issues that make Linux not a suitable desktop for end users, or why one of the other possible open-source desktop OSes (Haiku, Syllable, etc.) needs to become a suitable end-user desktop.

    I use Windows right now instead of Linux because I don't feel Linux is ready for the desktop, but most of my partitions for "extra data" are formatted using the second extended filesystem (Linux's "base" stand file system) and read in Windows using ext2fsd because I don't want my data to be held hostage by Microsoft patents.

    So, yes, I really want Linux to succeed.

    - Sam

  16. Re:M$ by saleenS281 · · Score: 3, Insightful

    Ya, NO linux based company would EVER do something like that.

    www.redhat.com

    What's Ubuntu's LTS support? 5 years? And how long has XP been supported? Right...

  17. MOD PARENT UP by serviscope_minor · · Score: 5, Interesting

    Mod parent UP. The OP is thinking about it wrong: ie how to manage unix in the style of windows. Don't give them root and they can't install software. Make sure the home directories an /tmp is moutes -noexec and there is NO WAY that they can run programs which aren't already installed.

    Now they can have free run of the system and can't do anything harmful. Still not satisfied? Remove all executables that they shouldn't run, or make them a-rx g-rx, and don't have users in the group able to run them.

    You can create an RPM to do this for you, then set up the whole thing automagically using Redhat's or SUSE's tools (one is called kickstart). I suspect it is straightforward on debian based systems, too.

    If you have the autoupdater running (good for security), then update the setup RPM, put it in your local repository, and sit back as all the desktops get updated with new settings.

    Alternatively, you can bodge it with shell scripts and a cron job :-)

     

    --
    SJW n. One who posts facts.
    1. Re:MOD PARENT UP by binner1 · · Score: 5, Insightful

      While I _mostly_ agree with this, a nice policy management (configuration management mostly) tool is also essential when dealing with lots of boxes. You want a new setting for all Gnome desktops, simply add it to the policy tool and let it distributed any required config files or run commands to change the setting, etc. This type of thing used to be done with things like: for h in $all_my_hosts; do ssh $h /tweak/some/setting; done

      CFEngine and Puppet and friends are a nicer way of doing this. They're "self documenting" in that your write the code and then you can later very easily see when you added some configuration bits, etc...version control your configuration management scripts and you get even better tracking of who did what and when. (A side question: How does one do the version control type stuff in AD?)

      While kickstart is great (I use it), it only goes so far. Having a policy manager on top of that (installed and configured in the kickstart) is a beautiful thing!

      -Ben

    2. Re:MOD PARENT UP by geekboy642 · · Score: 3, Interesting

      I was going to post almost exactly this.
      If every directory your users can write to is mounted as noexec, and you don't do something boneheaded like giving them sudo access, they will be completely unable to install software. There'll be extra traps, like disabling flash to prevent most of the browser-based time wasters, but those can be managed reactively, and aren't nearly as likely to require a system re-image.
      Transparent automatic proxies are negligibly simple to implement, for instance a pfSense box and a $300 PC. As a bonus, you can easily add web filtering and block things like Slashdot at work. As for printers, Avahi and cups setup can easily make finding and using printers secure and idiot-proof.
      A local .deb or .rpm archive, and making your desktops automatically check for updates at, say, 2am, will alleviate the rest of your problems. It's also quite easy to provide a virtual "our_enterprise" package that you can have depend on any local fixes or changes for your office.

      The answers to subby's question are almost laughably simple.

      --
      Just another "DOJ fascist authoritarian totalitarian bootlicker" -- Zeio
    3. Re:MOD PARENT UP by QuoteMstr · · Score: 3, Insightful

      Err, you can still run interpreted programs on a filesystem mounted noexec:

      ~$ python myprogram.py

      A sufficiently clever user could use an interpreter to write his own dynamic linker and thereby run binaries too.

      But I agree: locking down the desktop is the wrong approach. Better is to separate sensitive information from things that aren't sensitive, and have a standard user environment to restore to if the user does manage to mess up his configuration.

    4. Re:MOD PARENT UP by magamiako1 · · Score: 5, Insightful

      You kids still think that what the OP is asking for has anything to do with "preventing users from doing something harmful to the computer".

      Get it out of your heads. Many of the things group policy can do has nothing to do with "security" or "preventing users" from doing anything. It has a lot to do with quickly standardizing departments, offices, rooms, or whatever your business structure is.

      When you move a computer to a different department you simply drag the computer in AD to the different OU and BAM! That computer now gets everything new with its policies. There's no bringing the computer in to the IT department and reloading its configuration with "Configuration A for Department B".

      Want to make a change to how a whole department does things? There's no pushing a script out later on to the whole department. You simply change it in group policy and the entire thing gets taken care of automatically.

      You can spend more time focusing on actually getting shit done than fussing around with HOW to solve the problem with roundabout tool sets.

    5. Re:MOD PARENT UP by QuoteMstr · · Score: 5, Informative

      This kind of stuff is why NFS-mounted home directories are just wonderful. If my machine kicks the bucket, I can grab a new one, install an OS on it, and get back to where I was before in half an hour. In a larger organization, an imaged system would work even better.

      Now, as for mass configuration changes, cfengine is your friend.

    6. Re:MOD PARENT UP by maitai · · Score: 3, Informative

      This is just wrong. Even in the Windows world. You don't need to be root to "install" a program (and what is with the "install" mentality anyhow?) Someone can happily place a binary in their home directory, or /tmp, or wherever they have write permissions and run it (note the next paragraph).

      And relying on noexec? /usr/bin/perl is usually executable, as is /usr/bin/php, /placeyourfavoriteinterprethere and can run any script you tell it to regardless of the noexec bit on the partition you mounted. For that matter, there's always ld.so, ld-linux.so, ld-linux-x86-64.so or whatnot (depending on your Linux distribution and hardware) if you want to load a binary (/lib/ld-linux-x86-64.so.2 binarynamehere). And note, ld.so will bypass any noexec bit on a partition (and also don't care if the binary is set executable or not)

  18. Re:How about: less douchebaggery? by man_of_mr_e · · Score: 4, Insightful

    Probably because you can't guarantee that the users will ACT like adult human beings.

    Any corporate policy that relies on "Let's just hope users don't do bad things" is doomed to fail.

  19. Re:You don't by Minozake · · Score: 4, Informative

    You feel Linux isn't ready for the desktop, or Linux isn't ready for your desktop?

    --
    http://sourcemage.org/ - Have fun :)
  20. Re:How about: less douchebaggery? by mysidia · · Score: 3, Informative

    You can't install apps without root.

    You can't get root without proving your competence and signing an agreement that says you will only install apps that have been approved.

    It changes from being a "lockdown the desktop" problem, to an "unlock the desktop for people who absolutely need it, and closely monitor their activities" problem.

  21. Re:How about: less douchebaggery? by RichardJenkins · · Score: 5, Insightful

    You think using technology to help enforce an IT policy and respecting your employees are mutually exclusive aims? I strongly disagree.

    A small contingent of 'bad apples' can do serious harm if you do not effectively enforce IT policies. It's not possible to guarantee there is no one like this in your company, so you should protect the company and other staff from from them.

    Respecting staff won't stop douchebags being douchebags and screwing up your systems.

  22. Re:Mittens!!! I was going to say: Give everyone by davidsyes · · Score: 5, Funny

    Paws... Then they could have Caps Paws...

    But, if Puppet offers tiered services, then you can evaluate the... Puppet Tiers (LOL)... Then controlling the employees simply becomes a matter of ... pulling strings...

    --
    Previously: "Linux... Toward the Sunrise..." Now: "Linux... Toward the-- No, now, part of Every Sunrise"
  23. Re:More information on what you want to lock down? by man_of_mr_e · · Score: 5, Informative

    Unfortunately, few people in the Unix world seem to grasp what Group Policy is used for in Windows.

    It's not simply preventing users from installing software.

    Group policy is a set of policies that gevern everything from security policies, to application policies (for instance, say you want all users in a specific AD OU to use a specific proxy server, or maybe you want to limit all computers in a given lab from being able to use an MSN Messenger.

    GP can be assigned to specific computers, groups of computers, users, groups of users, and a whole host of situations. The nice thing about it is that it's AD wide, and controls the user or the computer regardless of where, or what may be installed on the machine or how it's configured locally.

  24. Re:How about: less douchebaggery? by Anonymous Coward · · Score: 5, Funny

    Doesn't work:

    bash-3.2$ less douchebaggery
    douchebaggery: No such file or directory
    bash-3.2$

  25. Re:This is linux's strength, actually by Anonymous Coward · · Score: 5, Insightful

    Or, am I missing something?

    Yeah managing this for 300+ people in an environment that changes daily without spending your entire IT budget on admins and the sneakernet support staff.

    despite our desire to act like open source is the cure for all ills this is the type of problem we need to solve. You MUST lock down some enterprise environments (or have a CEO who is willing to go to jail) and you MUST be able to manage this without breaking the company piggy bank. He's asking for solutions to these two requirements not how to keep ONE person on ONE desktop from doing ONE of the many forbidden things.

    And as for the guy/gal who suggested we treat everyone nice and hope they act right. That's fine for your 10 person IT shop...not so much for a multi-billion dollar public company that needs public trust and investment and is governed by a whole mess of federal regulations in numerous national jurisdictions around the world.

  26. Re:How about: less douchebaggery? by Architect_sasyr · · Score: 4, Interesting

    You can't get root without proving your competence and signing an agreement that says you will only install apps that have been approved.

    Sometime ask for permission to edit a config file for, say, a webserver to save the admin time. In fact, ask for vi permission because that's your favourite editor:

    sudo vi /etc/httpd/httpd.conf
    Password:
    :sh
    sh#

    Just a random "trick" you can use to get around things like that. To OP:

    I manage my 200-odd machines via ssh-keys and push scripts each night. It's not as pretty as a GUI, but I don't need pretty, I need functional. I keep a machine loaded with an accurate configuration of what should be out there, and every time I make a change on the test machine that I am happy with, I migrate it to the live machine, which pushes out the scripts. But I like the parents post theory anyway, despite what this post may have looked like.

    --
    Me failed English...
    FreeBSD over Linux. If my comments seem odd, this may explain...
  27. Re:How about: less douchebaggery? by Anonymous Coward · · Score: 5, Insightful

    Have you ever met a sales person, or watched them try to use a computer? Seriously, watch them try to send a 500MB powerpoint presentation as an e-mail attachment, or ask for tech support on their limewire install, and marvel at the risk to your company.

  28. Do what's cheaper by malevolentjelly · · Score: 4, Insightful

    If it's cheaper to stay with a Microsoft-based infrastructure, then stay with that. Creating massive infrastructure-wide group policies that go from desktop to web browser is sort of a windows thing. If you're going to maintain security policies in a linux-based system, you better be prepared to start thinking in Unix- that means remembering that you're using a network-based system, not a locally-oriented system on a network.

    If you're setting an IT infrastructure, the costs you're cutting on licensing will probably bite you in either support, security, training, or usability/productivity. There's no such thing as free software, I'm sorry.

  29. LSD by russlar · · Score: 5, Funny

    Why not use LSTP? That way you only have to worry about whatever image(s) you keep on the server.

    Better yet, use LSD! Then all you have to worry about is why those images are talking to you.

    --
    Anybody want my mod points?
  30. Re:How about: less douchebaggery? by mysidia · · Score: 5, Informative

    Vim supports a mode referred to as 'restricted' mode.

    i.e. cp /usr/bin/vi /usr/bin/rvi

    Give the user permission to run 'rvi' instead of permission to run 'vi'

    Also, you needn't give root to do that; modern distros have these things called 'group permissions', or even ACLs.

    You can create that user a special non-root user that they 'sudo' to in order to edit the config file, and an ACL permits just that particular user to edit the particular allowed config files.

  31. Re:This is linux's strength, actually by icebike · · Score: 5, Informative

    Sneaker net?

    This is linux. You do it all remotely, and you can build clone the machines pre-set up
    exactly the way you want them.

    This is not hard. But first you have to purge the microsoft mentality from your thinking.
    Forget Sneakernet. Think more Fat-Ass net. Like me sitting here on my fat ass managing
    a dozen machines for naive users located 1400 miles away.

    You just never give users root access, and you set your permissions properly.
    You can use SeLinux, AppArmor, or any number of free management tools that
    all work remotely. You don't have to rely on everyone to act nice because
    you can lock it down just as tight as you want.

    If its a business, why not start with a business solution like Novell SLED.
    Its made for the enterprise. And it locks down nicely.

    None of this stuff is free in the windows world, but its all available
    for free in the Linux world, OR you can pay for it and still save money
    over Windows.

    But there are free remote management utilities included with every Linux distro.
    Its called ssh.

    --
    Sig Battery depleted. Reverting to safe mode.
  32. Re:You don't by baileydau · · Score: 3, Interesting

    Unless users are only given a restricted shell, what prevents them from writing applications in shell script and running them?

    It's either a kiosk or a fully functional Universal Turing Machine...

    Well, one way to do this is to mount the users home / groups with the noexec flag. Only the system partitions should be mounted with execute permissions, and the users shouldn't have any write privileges on them.

    --
    Ever stop to think ... and forget to start again?
  33. Re:How about: less douchebaggery? by hummassa · · Score: 3, Funny

    No, au contraire. The following policy _will_ guarantee that users will act like adult human beings:

    We will take a peep at your files randomly and fire you without severance the first time we find something we don't like. Period.

    --
    It's better to be the foot on the boot than the face on the pavement. ~~ tkx Kadin2048
  34. we leave our security to by v1 · · Score: 5, Funny

    Locking Down Linux Desktops In an Enterprise?

    We leave our security in the hands of Mr. Worf.

    --
    I work for the Department of Redundancy Department.
  35. Re:How about: less douchebaggery? by orev · · Score: 4, Insightful

    Instead of spending $$$ on bondage and discipline, how about treating your users like adult human beings?

    THIS is why those tools don't exist. Because every time you ask, some self-righteous idealist responds like this. Unfortunately, those self-righteous idealists are often also the really good programmers who have the ability to create such tools.

  36. Re:A lot of this can be done with netbooting by Ungrounded+Lightning · · Score: 3, Insightful

    Move it to a new department? Change the entry for the machine on the DHCP server. No need to pull it in for retweaking.

    Or even plugged in when you make the change.

    You can use the whole disk for swap and /tmp. No individual installs. No local copies.

    And the user's entire persistent state is on your fileservers, where you control the backup, maintain history (and let the user recover his OWN lost files), etc.

    Meanwhile, with nothing persistent on the user's machine there's no info lost if it fries or is stolen, or if you need to upgrade his hardware. Just configure a fresh machine for netboot and replace the MAC address of his workstation with the new machine. Instant gratification.

    You also get to update the software on ALL the machines by updating ONE image on the servers.

    --
    Bantam Dominique roosters crow a four-note song. Once you've heard it as "Happy BIRTHday" you can't NOT hear it that way
  37. Re:You don't by gbarules2999 · · Score: 5, Funny

    Let me try and predict this one: "[Problem they've randomly had in the last two years and didn't bother to research or bugfix] is the biggest issue in desktop Linux. The developers have lost touch because, for example, [anecdote that offers no valuable bug-ridding information, or even enough to replicate it], showing that [Problem] is still a big of a problem as it was four years ago. I've seen [however instances they've seen it, plus four] instances of this issue in my computer but also in other's, and it refuses to be fixed because Linux is simply put, not user-friendly or stable in the least bit. It's things like these that make me draw the conclusion that Linux is simply not ready for the desktop."

  38. Re:More information on what you want to lock down? by SaDan · · Score: 5, Insightful

    Unfortunately, few people in the Windows world seem to grasp that LDAP has been around for many years in the *nix world, and has all the functionality you would find in Group Policies when linked into PAM on the client side.

    For a couple years, I maintained a company-wide network that supported unified "home" directories and unified login/password capabilities between Windows workstations, Linux workstations, and Solaris servers, all tied back to Fedora Directory Server. It was hell to set up, and sweet to watch in action.

    Active Directory and Group Policies aren't bad for simple installations, but really turn into a mess quickly depending on your setup. LDAP and *nix systems that support PAM are a snap to set up, work fairly well and took significantly LESS time to get working properly than the Windows side did.

    There's a lot of research that goes into setting up either side of the equation. Linux/Unix has been more ready for the "enterprise" desktop than Windows has, though, and that's a cold hard fact.

  39. Re:More information on what you want to lock down? by jkinney3 · · Score: 4, Insightful

    In Linux it's done with policies in LDAP that are used to set variables for login scripts. Using standard Linux tools (written 20+ years ago for UNIX systems), the login process can report back what machine, IP address, etc a user is accessing. That coupled with the group structures in LDAP are used to set environment variables that dictate everything a user can access.

    If it weren't for the boneheaded point-n-click gui that windows crams down every admins throat, even windows admins would see that their precious AD is just ldap with environment variables modified by scripts.

    You talk about converting 300 seats. I converted 2000 to LTSP desktops. All driven by only 33 servers. See here for details: http://www.localnetsolutions.com/press.html

    If you are still stuck, my contact info is on the site. I consult.

  40. Oops! There's that REALITY again... by mcrbids · · Score: 3, Informative

    What you are forgetting is that most companies, especially large companies ARE boring places staffed by a high percentage of mediocre people. Large organizations have a large amount of administrative overhead, and the vetting process is long, convoluted, and inefficient. It's just the nature of the beast.

    1) IT staffed by control freaks? Well duh! It's the only way they can appear to be doing something and not getting their asses handed back to them if anything goes wrong...

    2) Trust? How much do YOU trust people you know just barely well enough to remember their name? And anytime you get more than 5 people together, they start grouping up and taking sides. Disputes soon follow. Care to guess what it's like when there are 500?

    3) Hiring standards? Have you seen who applies to Monster.com ads? As an employer, I can say the domain name is appropriate...

    4) unrealistc expectations... It's often hard enough to simply establish expectations at all. 5) Morale? You want to talk about morale!?!? Large companies spend months rolling out big updates like using actual coffe in the coffe makers at their 2,000 store fronts, or on 6 month programs toget locations to clean their bathrooms. Wait until you spend a man-week working yer ass off because somebody didn't know what 'historic' meant, only to find you didn't need to do anything at all. Then see what your morale is like.

    6) Unmotivated employees? Your average wage slave is motivated by a desire to do as little as possible and not get yelled at.

    Go work at/for/with some large organizations sometime. You'll see why Dilbert is so popular - not because it's quirky and off-beat but because IT'S TRUE!

    --
    I have no problem with your religion until you decide it's reason to deprive others of the truth.
  41. Re:How about: less douchebaggery? by Anonymous Coward · · Score: 5, Interesting

    "Like screen savers that try and install crap along with it, then there'll be all the support calls why isn't it working."

    Using my remote control truth extractor, I can detect thoughts that are in your brain but not passed to your fingers on the keyboard. Combining your post with the truth extractor, I get the following:

    "Treating adults like adults is good in theory, but when you have 300+ people trying to..."
    Do their jobs
    "...you want to take away as much..."
    productivity
    "...as possible." So we can feel like we are in charge of something. Even the little people need to feel big every so often. In order to keep our jobs, we need to make sure people need us. Thanks to lockdowns, they will.

    Is that awesome technology or what?

    Would you rather make people stop working and call the helpdesk when they need some kind of app that is (a) harmless and (b) freely available? And it's OK if they wait: 15 minutes? an hour? all day? So you can prevent a call from a guy who screws up the SCREEN SAVER???

    Instead of making Mr. Screensaver wait in the queue because of his counterproductive antics, YOU MAKE EVERONE ELSE WAIT INSTEAD???

    Such a strategy would only make sense if >50% of all calls were for unnecessary/unauthorized things. And IF that were true, then a lockdown would work so well that support staff could be cut, right?

    Any wonder why IT departments are referred to as the "preventers of information services"???

    What happens if they boot Knoppix from CD? Works pretty well in Windows shops as well. Lockdown the BIOS from CD boot? There are numerous published backdoor passwords; almost every BIOS has one.

    BTW, this is a much bigger problem in Windows shops, where people tend to go crazy with pirated stuff, trial versions, spyware, and network bandwidth wasters -- all of which contribute to real risks and system instability. Taking away root access solves most of this in Linux, whereas in Windows it's the full employment act for the helpdesk unless you surrender to the draconian tradeoffs described above.

  42. Re:You don't by DavidRawling · · Score: 4, Interesting

    I think the point of the G...GP post was that you can't easily push this out remotely, and on Linux you have to write it, support it and debug it yourself, including all the niggly corner cases.

    Frankly Windows has some cool Enterprise stuff that makes this easier.

    1. WSUS. Centrally administer the set of updates permitted to clients and servers. Linux version: Maybe set up a repository for your corp distro - but how to sync and manage the updates is what I don't know here.
    2. SCCM / Zenworks / Others. Roll out an application to user desktops whether they're on-net or not. I can push Office to a machine 500mi from one of my offices. Well, OK the admins, I'm a consultant (a contraction of Con and Insult). I get reporting, auto retry, auto download with bandwidth optimisation. Linux version: I honestly don't know. I never hear about this and it's a major, major part of TCO for the desktop, so there must be SOMETHING - and I'd love to know about it.
    3. Group Policy. Push out settings, apps, scripts without any admin access. Disable apps (or provide a white list of apps - hey no more goddamn spyware it's the single most sensible way to protect a Windows box from this crud). A single change in one location with enforced application to the desktop, when the desktop is on-net (those remote users have to change passwords eventually)! Marketing wants a new desktop background across the company (and the CEO has OK'd it)? Sure, give me the file, generally speaking it's on 95% of online machines in under an hour, with no user ability to turn it off. And hey, it's a company machine. Do you expect to repaint the company walls sky blue because you don't like puce?

    It's worth noting that these policies aren't Microsoft deciding willy-nilly how you will use your computer. It's the Fortune 500+ companies, and their equivalents in Europe, Asia-Pac etc, who have requested this. They have very big wallets. They spend way more on MS than we do. And apparently some dorkwad once determined that allowing users to set their own desktop background wastes time and thus money, so they want to lock things down, protect themselves from lawsuits etc, and ensure they are paying people to work, not skive off typing long comments on /. ...

    Ahem. As I was saying.

    In these sorts of cases (desktop wallpaper, sound schemes), to me, the benefit is not time and money, it's the ability to avoid a lawsuit because Big Stu the ladies' man in the centre of the office decided to have some porno chick as his wallpaper and porno sounds for new emails et al. And the 30 women around him get offended and sue the company for letting him be a dickhead even though there's a clear policy in place.

  43. Re:You don't by QuoteMstr · · Score: 4, Interesting

    I think the point of the G...GP post was that you can't easily push this out remotely, and on Linux you have to write it, support it and debug it yourself, including all the niggly corner cases.

    That's a good point, but the kind of huge organization you mention will have in-house IT people who can that anyway, and I still think the advantage of a FOSS platform outweighs the relatively lack of ready-to-go deployment facilities.

    WSUS. Centrally administer the set of updates permitted to clients and servers. Linux version: Maybe set up a repository for your corp distro - but how to sync and manage the updates is what I don't know here.

    Any of the major repository systems can be set up in a custom configuration with client machines automatically sucking packages up from a central company repository. Redhat's up2date and satellite systems are especially geared toward this kind of deployment.

    SCCM / Zenworks / Others. Roll out an application to user desktops whether they're on-net or not. I can push Office to a machine 500mi from one of my offices

    If I'm understanding this correctly, you get application installation automation for free with your centralized repository, perhaps automated with cfengine, puppet, or even ssh-in-a-loop.

    Group Policy...

    This is hard, and I'll admit Windows has an edge here, though personally, I feel like that's a little bit about North Korea having an edge in oppression compared to the US; it's not necessarily something desirable.

    That said, if you must do something like this, there are ways. Other comments for this article address this point better than I do. For starters, there's kiosk mode "KDE's Kiosk Mode, allows a system administrator to configure all aspects of the desktop for an end user and optionally prevent the end user from making modifications to the provided setup."

    Gnome also supports a lockdown system.

    And as a last resort, you can always patch the software and distribute the patched version to all your machines.

  44. Re:How about: less douchebaggery? by Tuoqui · · Score: 3, Funny

    You've already installed Linux. I doubt they can install anything on there that would be a problem, not without gunning for your job that is.

    --
    09F911029D74E35BD84156C5635688C0
    +2 Troll is Slashdot's way of saying groupthink is confused
  45. Re:You don't by Dolda2000 · · Score: 3, Informative

    Guess what? noexec doesn't do jack shit on the majority of Linux systems, and does not prevent anybody from running a. You know why? /lib/ld-linux.so.2. (On x86_64, there's also /lib64/ld-linux-x86-64.so.2.)

    Oh really? Seeing how mmap(2) requires the PROT_EXEC flag to make segments executable in the MMU, and checks those flags against the mode of the i-node, I found that hard to believe, and have it a try. These are the results:

    $ cd /tmp
    $ mkdir mtest
    $ sudo mount -t tmpfs -o noexec none mtest
    $ cd mtest/
    $ vi test.c
    $ gcc -o test test.c
    $ ./test
    bash: ./test: Permission denied
    $ /lib/ld-linux.so.2 ./test
    ./test: error while loading shared libraries: ./test: failed to map segment from shared object: Operation not permitted
    $ sudo /lib/ld-linux.so.2 ./test
    ./test: error while loading shared libraries: ./test: failed to map segment from shared object: Operation not permitted

  46. Re:How about: less douchebaggery? by netcrusher88 · · Score: 4, Informative

    Which is not the same as 'sudo rvi'. You can set sudo to only allow certain commands, so if you allowed 'sudo rvi', you couldn't run 'sudo ~/vi'.

    sudo filters by the command executed (I've seen things restricted to full command line - i.e. sudo killall -HUP ircd but not sudo killall ircd).

    --
    There's an old saying that says pretty much whatever you want it to.
  47. Re:This is linux's strength, actually by darkpixel2k · · Score: 3, Informative

    Adn how long would it take me to SSH into 40,000 desktops to update Adobe Reader 8 to Adobe Reader 9, because there is some new feature that someone decided we just have to implement?

    How long to copy the browser link to 40,000 desktops to comply with a mandatory ethics reporting plan we had to put in place? How long to patch 40,000 kernels for a security hole that must be resolved within 72 hours due to Corporate Information Security policy?

    you guys that complain about heavy handed IT policies don't realize, that we don't even drive a lot of this stuff. If it was an IT idea, no one would ever give us the money we need to buy these tools. It's all driven from the top down.

    Perhaps you've never heard of cssh?

    I use it to patch and update ~ 15 linux machines at the same time--in about 3 minutes. Patching a comparative number of Windows servers takes 30 minutes and a reboot.

    In all seriousness though, cssh might not work so well for 40,000 machines. You'd probably have to have a 70 inch monitor...

    --
    There's no place like ::1 (I've completed my transition to IPv6)
  48. Re:How about: less douchebaggery? by mysidia · · Score: 3, Informative

    Installing a pre-packaged app is difficult without su privileges, but you can easily build something in a directory that you can set files to executed.

    Group policy in Windows is about stopping casual users from breaking policy too easily. Experienced professionals have means to circumvent protections on their workstations.

    You can't easily build a thing without compilers, esp. when your home directory is on a filesystem mounted NOEXEC, so you can't run binaries from it.

    And Esp. when disk quotas are in place, such that large binaries would set off alerts, and get sysadmins probing around to find out why you suddenly got a few hundred megs of .o files in your directory.

    If you're concerned about users compiling their own binaries, then you should be just as concerned about them booting their systems from a CD or USB stick, or opening the case, swapping out the hard drive, or booting single user and gaining root, and goofing off in an OS you have no control over.

  49. Re:How about: less douchebaggery? by digitalchinky · · Score: 3, Interesting

    Er, Computer use policy. Section 2.

    If you leave your system unlocked (accidentally or intentionally) and someone dicks with it, we will fire you immediately, and the other person as soon as we review the cubicle surveillance tapes.

  50. Re:This is linux's strength, actually by Gazzonyx · · Score: 3, Funny

    Use a boot loader password.
    Disable CD/USB boot in BIOS or make the hard drive boot first(and password protect it... with clever users, lock the box so no one can clear the CMOS).

    The bottom line though is that if someone has physical access to 'your' box, it's no longer yours. This applies to security as well as users. The only thing you can do is make the process so painful and bothersome that they decide it's not worth it.

    Speak softly and carry a big stick. Keeping a CAT5 cable that terminates to a power outlet is a good tool to have handy. Plug it in to the spot on the patch panel where the trouble user's connection is - they'll get the point after a couple of 'hardware failures' for their desktop. :)

    --

    If I mod you up, it doesn't necessarily mean I agree with what you've said, sorry.

  51. Re:This is linux's strength, actually by psyclone · · Score: 4, Informative

    cssh is great for a handful of computers, but for the 40,000 boxen, try cfengine

  52. Re:More information on what you want to lock down? by TheRealSlimShady · · Score: 3, Insightful

    Unfortunately few people in the *nix world seem to grasp that LDAP is just a protocol (that's the P bit of the acronym). It's just a standard way of accessing directories - which is what Active Directory is (as is OpenLDAP etc etc). LDAP means nothing as a reference to a directory - OpenLDAP might in your case. So what you meant to say was "directories (that are accessible via LDAP) have been around for years". Whether they do everything the particular implemention of Active Directory does is up for question - some may, some may not. It depends on implementation...

  53. Re:How about: less douchebaggery? by walt-sjc · · Score: 3, Interesting

    Bingo.

    If you don't restrict sudo, you can do anything. I would bet that most people here use sudo for full root access and not restricted commands, and don't understand this.

    But back to the apache example, why oh why are people still starting it as root with the config files being owned by root? That's nuts. Use iptables to redirect port 80 to 8080 (and 443 to 8443) and get off the "root crackpipe."

    To be honest, the legacy requirement that you must be root to run applications on ports less than 1024 doesn't make sense in the modern security world and Linux (along with OSX, Solaris, etc.) should dump it. Unix derivitives are the ONLY OS's with such restrictions, and the workarounds of starting as root and dropping privs is just a bloody nightmare and SOOOOO unneeded. Along similar lines, native jailing of apps really should be built in to the OS. BSD has it, Solaris has it, Linux needs it. Right now it's bloody difficult to jail a user to a portion of the filesystem. vservers help but are not a true replacement for being able to jail a user (or hundreds of users) to a limited area.