228
Is there a Linux based OS for public computers, such as at a library or a PC cafe?
(lemmy.blahaj.zone)
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
Honestly I'd
That's it. This way one can still let the OS do it's updates but the user experience is consistent.
I am no expert. But I think there is an 'easier' way too manage this with an overlay filesystem.
Have an immutable base with all permissions set. When a session is started have it be done in an in-memory overlay. On logout drop the overlay.
This might be easier if you don't want to rely on cronjobs. But as I have no experience myself setting this up... 'easier' should be taken with a grain of salt. I just took inspiration from docker.
True keeping it all in memory, especially as it would be of limited size, could be a good solution. That being said a single script and cron job is rather "easy" IMHO.
You are correct. I just have a coworker that has ingrained the philosophy in me to always look for a way to put it in configuration, and not in a script that you have to maintain.
I don't always agree with that. And I find your solution as valid as mine. It is always a matter of taste and trust. In this case in the script, or the fsdriver. That's why I always quote the "easier" when comparing solutions to Linux problems.
Probably a cleaner way indeed but again mindful about how familiar people who can help the library are with NixOS vs Ubuntu/Debian.
Maybe I'm misrepresenting the labor market and the availability of professionals working with Nix. That's also why I mentioned Ubuntu/Debian not on the basis of technical merit but "just" popularity. Now if you are suggesting that they could hire somebody working with Nix just as easily for that task, sure they could go for it.