I run a small business and would like to use Linux for its free naturet. Is there a way to lock down linux using software or a whole distro that would prevent people from doing pretty much anything other than opening a web browser similar to Windows or ChromeOS. I would use ChromeOS, had it not been made by Google as I am not super keen on using something made by big tech.

Edit: This would be for employees and is exclusively about endpoint security, mot enforcing staying on task.

  • cordlessmodem@kbin.social
    link
    fedilink
    arrow-up
    19
    ·
    2 years ago

    If you’re looking for a pure kiosk experience check out porteus kiosk, it’s a very stripped down distro that lets you choose Firefox or chrome and by default uses private browsing.

    I’m sure if you need a whole desktop experience that’s also possible but i don’t know how

    • MyMulligan@lemmy.one
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      Porteus is cool. I messed around with it when trying to set up an idiot proof browsing pc for a relative.

  • l3mming@lemmy.fmhy.ml
    link
    fedilink
    arrow-up
    15
    ·
    edit-2
    2 years ago

    Would this locked-down distro be used by customers or by employees? If it is being used by employees, there is no faster way to be hated than putting unnecessary restrictions on their logins. You don’t want that kind of workplace.

    I simply do this:

    1. Make sure they don’t get sudo/root privileges.

    2. Remote mount their home directories (nfs).

    3. Don’t add any restrictions beyond that. It is a waste of time and money.

    4. Control the rest through company policy, usually clauses under the ‘Misuse of company network’ section.

    5. Who cares if employees are browsing tik-tok or whatever if they’ve done all their work? That’s a work-allocation issue. If they haven’t done all their work then that’s already a solved problem. Either motivate them or performance manage them slowly towards the door.

    6. Who cares if they want to install xyz software [in their home directory]? Chances are it’ll be a free boost for performance and/or morale.

    • UrbenLegend@lemmy.ml
      link
      fedilink
      arrow-up
      12
      ·
      2 years ago

      All good points. Who the heck cares as long as your employees deliver their promised work on time?

      I should add that you should however restrict data storage, mandate disk encryption, etc.

      • l3mming@lemmy.fmhy.ml
        link
        fedilink
        arrow-up
        3
        ·
        2 years ago

        Agreed. I manage both of these transparently beyond the employee’s view. All the employee knows is that they have xyz free space to use on their profile.

    • dango@fedia.io
      link
      fedilink
      arrow-up
      5
      arrow-down
      1
      ·
      2 years ago

      Who cares if they want to install xyz software [in their home directory]? Chances are it’ll be a free boost for performance and/or morale.

      This /really/ depends on your threat model. “xyz software in their home directory” could easily be “exfil tool that uploads all data employee X has access too, disguised as a meme template generator”

  • ChojinDSL
    link
    fedilink
    arrow-up
    9
    ·
    2 years ago

    Back when internet cafés were still a thing, a common practice was to have a bunch of thin clients that would have no local storage and have them boot over the network. The environment would get wiped every time someone logged off.

    You could do something similar. Cheap machines with no local storage. Bios settings that prevent any sort of booting from usb sticks and protect the bios with a password.

    Projects like LTSP are designed for this.

    You could boot the machines in a read only mode and just have the browser available. Perhaps also only allowing sharing of files through something like nextcloud where you could theoretically also lock down what type of files are allowed. Or at least be able to inspect the files that people are storing.

  • nicman24@kbin.social
    link
    fedilink
    arrow-up
    6
    ·
    2 years ago

    You will need to configure secure boot with your own keys, efistub and create a user with no sudo.

    After that any selinux or apparmor distro will do.

    What you are concerned about here is physical security so you will need to lock the bios, cut off the CMOS reset pins and probably solder the 3.3 battery.

  • blackstrat@lemmy.fwgx.uk
    link
    fedilink
    arrow-up
    5
    ·
    2 years ago

    I’ve found the gold standard to be the NCSC Guidelines. This covers everything around proper deployment of end user devices in an organization. https://www.ncsc.gov.uk/collection/device-security-guidance

    They have clamp down configurations for Windows and Ubuntu, plus others. This is the Ubuntu page, but there’ll be lots of cross over to other distros https://www.ncsc.gov.uk/collection/device-security-guidance/platform-guides/ubuntu-lts

    Their security configuration packs are hosted on GitHub so you can vet them first if you want https://github.com/ukncsc/Device-Security-Guidance-Configuration-Packs

  • ctr1@fl0w.cc
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 years ago

    I’m sure there’s a better solution, but SELinux is an option. It can be difficult to customize, but it’s capable of locking down the system entirely. You could theoretically block all actions taken by the user except for a select few mozilla_t actions and others necessary for login.

      • ctr1@fl0w.cc
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 years ago

        Haha. Yeah it takes time to learn how to do even the most basic things with it. Just how I would approach the situation

  • auth@lemmy.ml
    link
    fedilink
    arrow-up
    7
    arrow-down
    2
    ·
    2 years ago

    ChromeOS sucks… I think its the worst OS I ever used

  • frozen@lemmy.frozeninferno.xyz
    link
    fedilink
    arrow-up
    4
    ·
    2 years ago

    openSuse Aeon with a non-admin user. It’s an immutable distro that uses Flatpaks for apps and automatically updates in the background. I use it on my laptop and it’s great.

  • topnomi@kbin.social
    link
    fedilink
    arrow-up
    4
    ·
    2 years ago

    As long as you don’t give the users sudo powers there is little they can do to screw up the system.

    But that would only make sense if you want them to have their own users. If it’s just a public computer, you probably want the kiosk thin mentioned before.

    • SteleTrovilo@beehaw.org
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      There’s also the risk of users saving and distributing confidential data. You don’t need admin rights for that! I’m not actually sure this applies to OP, but if he’s giving everyone a web browser, it certainly seems like a risk.

      • topnomi@kbin.social
        link
        fedilink
        arrow-up
        5
        ·
        2 years ago

        A cell phone can save and distribute data.

        He didn’t say it was crazy confidential. I got the feeling it was more about keeping them from fucking around and breaking it.

      • l3mming@lemmy.fmhy.ml
        link
        fedilink
        arrow-up
        4
        ·
        edit-2
        2 years ago

        If Snowden can exfiltrate data from the NSA, there is simply no way for your average employer to prevent this through computer restrictions. Effort in that direction is a total waste of money.

        This is a company policy issue, enforced through non-disclosure agreements and, ultimately, the legal system.

  • user_disagreement@kbin.social
    link
    fedilink
    arrow-up
    4
    ·
    2 years ago

    I think avoiding ChromeOS is wise, that just puts Google in charge of your IT systems and leave you at the mercy of their data harvesting abomination of Linux loaded with proprietary software.

      • champe20@kbin.socialOP
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

        My apologies for the miscommunication; I wasn’t coming from ChromeOS, I was skating it as the only viable alternative, though undesirable.

  • hiyaaaaa23@kbin.social
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    2 years ago

    Ngl I know you don’t want to use big tech but I think chromeOS is probably your best bet.