this post was submitted on 27 Jan 2025
68 points (94.7% liked)

Linux

8594 readers
50 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 2 years ago
MODERATORS
 

In short, my question is "Is there a way to prevent a non-malicious but unknowledgable and clumsy user to ruin their own home directory?"

Say my grandma opens a file browser looking for a picture, finds those dot files or those mysteriously-named directories distracting, sets her mind to deleting them. And assume she somehow finds a way to do so. While I understand that dot files or mysteriously-named directories of a non-privileged user are of no ultimate importance, it is a maintenance nightmare.

Plus, it's not only mysterious files that are prone to be targetted. She might well delete by accident the picture she was looking for.

Two kinds of solutions that come to mind are: -Restrict file permissions in an adequate way -Implement an easily operable, fool-proof, back-in-time scheme

Is there a mainstream, well-supported distro of GNU/Linux that has figured this use-case out?

I figure it might come in handy when Window 10 is no longer supported and the reports of hacks keep coming in.

top 50 comments
sorted by: hot top controversial new old
[–] Psythik@lemmy.world 6 points 12 hours ago

My sister's pretty dumb but couldn't break ElementaryOS. Hell, it took her a full year before she realize that it wasn't Windows.

IDK how, cause it looks more like MacOS than Windows; point I'm making is that if ElementaryOS could work for her, it could probably work for your grandma.

[–] possiblylinux127@lemmy.zip 4 points 15 hours ago* (last edited 15 hours ago)

Get her a Chromebook or iPad

That's not to say that Linux can't work. It absolutely can but keep in mind you are going to be the only one who can provide support.

[–] Presi300@lemmy.world 1 points 13 hours ago

Give her fedora silverblue, pretty much impossible to break.

[–] Boomkop3@reddthat.com 2 points 17 hours ago (1 children)

I gave a laptop running zorin to the mom of a friend of mine. She's been using it for over a decade now

[–] kusivittula@sopuli.xyz 1 points 16 hours ago (1 children)

my grandparents have a very slow laptop with w10 and it keeps telling them it can't upgrade to 11, and I'm sick of explaining to them that their pc will not stop working...

i would install mint for them since I use it too, but I'm afraid they will find a way to delete items in the panel...or the whole panel. and there ain't no way to lock it. I have been considering zorin but wasn't sure of how stable it is. has ever destroyed itself with updates or anything like that?

[–] meekah@lemmy.world 1 points 15 hours ago (1 children)

The comment reads a lot like zorin has worked fine with updates for 10 years.

[–] Boomkop3@reddthat.com 2 points 12 hours ago

Yep, it's just been auto updating. She needed help from her kids once or twice when her documents left the "recently opened" list though. She does not know what a filesystem is

[–] warmaster@lemmy.world 2 points 17 hours ago

Aurora, a spin of Universal Blue.

[–] corsicanguppy@lemmy.ca 1 points 15 hours ago

I'm looking at upgrading my mom and my wife's mom to Linux as w10 dies.

So far: I'm gonna put their homedirs on zfs with a cronned snap operation so I have that trivial history-eraser which I know I'm gonna need.

But I've been thinking about their use-case, and as browsers, searchers and friendica candidates I don't see much else I need to do beyond ensuring I can VNC into their running session and see what they're looking at when it's a strange thing.

Most of the damage they COULD do as a regular user is to their own stuff. We're gonna have a backup. The bulk of the concerns will be "why can't this earbud set work" or "my printer" and that's kinda the same as windows.

Honestly I'm looking forward to synching their workstations here when they come and visit a d showing them fun stuff.

[–] Thcdenton@lemmy.world 5 points 1 day ago

You don't. You Linux-proof Grandma

An immutable distro that uses flatpak is a must for this usecase, IMO

[–] M33@lemmy.sdf.org 38 points 2 days ago (3 children)

That will be unpopular but… buy a used iPad instead of trying to find the holy grail of *-proof computer.

[–] stefounet@lemmy.world 19 points 2 days ago (1 children)

But I don't want to buy an iPad. That's why I made this post.

[–] M33@lemmy.sdf.org 13 points 2 days ago

Believe me I tried that many times, with many people. At some point one just can’t adopt neither Linux nor windows, or macOS.

If you absolutely want a computer, because of special needs or a specific use case, you may find inspiration anyway from some half baked attempts of manufacturers to build an senior friendly OS and hardware. Overpriced and designed by people not knowing what they were doing, at least it was like they a decade ago.

I’ve been there too, the best success I had was :

  • An IBM (now Lenovo) laptop because strong as a tank, yes it did fall a couple of times.
  • Debian with a non root account.
  • A printer, yes, there will be screenshots and whole websites prints, because it reads better and it doesn’t run away when you inadvertently drag and click the mouse
  • FVWM95 because windows 95-98-vista desktop is what one did actually saw on TV series and movies.
  • BIG FONTS, zoomed views by default nowadays I would go for a wide screen.
  • Everything, every clickable item or icons removed from the start menu but internet, mail, print, remote help, power off. No word processors, no games, no calculator nothing. Mail IS the word processor. Excel is the good old desktop calculator sitting just there.
  • Exactly same icons internet, mail, print, remote help, power off icons on the desktop matching the start menu.
  • « Mail » was a shortcut to yahoo mail. Nowadays there may be better options.
  • Remote help: this was a VNC server in teacher - school mode, to connect my computer (teacher) and grant me remote hands with nothing more (not event the local IP, or the teamviewer session ID…) because when this icons was clicked it was already a panicky situation there.
  • Internet: at that time it was Firefox with all plugins, a custom home page with mail and google , same thing on the shortcut bar. A windows 95 skin and read only (chmod) on some config files so it wouldn’t be broken (again accidental mouse drag and click will wreak the interface, removing or adding one bookmark, accepting a ad for a new search engine that will replace the default search engine).

… Omg I started typing and now I remember how difficult it was technically and how hard it was to help people trying to be a decent human being every single time. Everything will break in a way neither you nor the user could imagine or understand how it happened clearly.

Buy an iPad.

[–] brap@lemmy.world 9 points 2 days ago

Worked wonders for my mum that did.

[–] osaerisxero@kbin.melroy.org 3 points 2 days ago

Strong agree, maybe with device management set up so you can remotely install apps/prevent installing problematic apps.

[–] Eldritch@lemmy.world 21 points 2 days ago

Daily or weekly cron job with a backup utility to a protected directory or off site storage. The best and only way. Regardless of operating system. At least the home directory.

[–] reksas@sopuli.xyz 5 points 1 day ago* (last edited 1 day ago)

I have thought about this too, though more in terms of selling it as a service. In my opinion, linux could be the best option for people who cant use computer since we can just make it easy to use for them, that isnt possible with mac or windows since they are so locked down and we just have to make due with what some corporate idiot decided.

Maybe its easier to start by making EVERYTHING forbidden and allowing things that are needed. Then also make somekind of backup system for things that might get ruined so it can be easily restored. Also hide everything from that account that isnt necessary to see. I cant say i'm expert regarding linux though, this is just something i would try starting with.

[–] domi@lemmy.secnd.me 6 points 2 days ago (1 children)

I setup Fedora Silverblue on an old surface for my mom so she can read her mails and browse the web. I also setup Btrfs Assistant for regular snapshots and Nextcloud, in case the wrong file is deleted. No issues so far.

Didn't have to setup any file restrictions or anything since the dot files are hidden either way.

[–] CrabAndBroom@lemmy.ml 1 points 15 hours ago

Yeah that was my first thought too. Automated backups and very few visible buttons. I tend to find that people who aren't very computer-minded don't like poking around much, so if you just have a button for internet and a button for email or whatever that should cover things pretty well. And then automated backups that they can't get to just in case lol.

I think Silverblue is a good call too, anything immutable so all the inner workings are protected.

[–] archonet@lemy.lol 17 points 2 days ago (1 children)

I mean, Timeshift with BTRFS is pretty robust. I use it with Linux Mint, couldn't be happier.

[–] bluetardis@sh.itjust.works 7 points 2 days ago

Seconded. Mint with Timeshift setup. Ideally separated drive dedicated to this but you could make a partition.

With auto daily/weekly/monthly options and versioning you are pretty safe unless she has an axe.

I would also setup RustDesk so you can help if needed. But visits are nice depending on cookies and distance

[–] jamesbunagna@discuss.online 5 points 1 day ago

Lots of good answers already, but a hidden gem has yet to be mentioned: Endless OS. TL;DR: it's an immutable distro based on Debian. As for the home directory, please consider one of the many solutions provided by others in this thread. Good luck!

Ok. I have pretty much this use case live and have had for about 4 years. With 5 different elderly users.

My solution: Linux Mint (standard Cinnamon) it's easy to use and supports pretty much all hardware with no faffing around.

The file browser in default settings doesnt show the dot directories in home. Granny is unlikely to break out any CLI chops but even if she does...

Setup automatic OS updates with automatic timeshift snapshots.

Add the dot directories to the snapshots.

Leave instructions that if they turn it on they have to leave it on for a half hour (so snapshot completes).

That's it, you're good. Setup a remote access software if you can't just walk across the road to provide support.

Real world they've never broken anything more significant than deleting an icon they still wanted on the desktop.

[–] eruchitanda@lemmy.world 6 points 2 days ago

What about just giving them Immutable/Atomic distros instead? Instead of it be very easy to break, you could go for very hard to break (not on purpose) from the start.

[–] just_another_person@lemmy.world 12 points 2 days ago (1 children)

It is already Grandma-proof if she doesn't know the root password.

[–] Lost_My_Mind@lemmy.world 22 points 2 days ago (2 children)

Did you read the post? He wants to prevent her from deleting non-root stuff too. Like photos.

[–] Eldritch@lemmy.world 4 points 2 days ago

Well that and they should 100% have older generations fuzzing operating systems and software. Not that MS has ever been particularly secure. But back around 2000 or so. I set up the main PC at home with a fresh install of windows 2000. My mother and I were the main ones using it. So I had her and I set up to administrate. My father I had set up as an unprivileged account because he had a history of oopsy-doodles. He started complaining about not being able to access the Internet. Somehow without administrator access, poking around randomly he'd managed to change some setting blocking network access for unprivileged accounts.

I have them both on Linux now with recent MS bullshit. He was telling me he needs another operating system because this one always locks up on him. I went to check. The OS was fine. He meant the browser. Which wasn't locked up either. He wanted to print something he didn't need to. But hadn't selected his printer. So it was going to save a PDF. But he couldn't find his printer in his home directory and left it on the dialog lol. He will 100% fuck his home directory up at some point. But that's why I have it backed up weekly.

load more comments (1 replies)
[–] slazer2au@lemmy.world 11 points 2 days ago (2 children)

Maybe an immutable distro like NixOS?

[–] Lost_My_Mind@lemmy.world 18 points 2 days ago (2 children)

Knowing absolutely nothing about NixOS, and never having heard of it before this moment, I'm going to guess it's a linux distro themed after Richard Nixon.

[–] HEXN3T@lemmy.blahaj.zone 10 points 2 days ago (1 children)
[–] Lost_My_Mind@lemmy.world 8 points 2 days ago

It don't matter if you're black or white.......because penguins are both.

[–] j4k3@lemmy.world 4 points 2 days ago* (last edited 2 days ago) (1 children)

It is a special Linux version that is made for developers, and is quite complicated. It kinda unites all operating systems where anything can be built for anything and the dependencies for code libraries and stuff are independent from the base OS. So yeah, it is operation deep throat Dick's OS /s

[–] Lost_My_Mind@lemmy.world 8 points 2 days ago (1 children)

I never understood why that was his code name. He's like "I'm a secret undercover agent. Call me......deep throat".

"What? No. You can be literally ANY combination of words. You could be Red Fox, or Sleepy Walker, or AxelRod. Literally ANY combination of words, since nobody will ever know uour code name. You're undercover."

"Call me Deep Throat"

"C'mon man. I don't want to tell my spy buddies that I'm going to go meet Deep Throat in an ally for a secret meeting."

"Call....me.....Deep Throat."

"God dammit....."

[–] CaptDust@sh.itjust.works 9 points 2 days ago* (last edited 2 days ago)

For what it's worth, Mark Felt didn't choose the name, Woodward initially published with "My Friend", but the editors picked it to personify the source. And yes, they actually just used the title of a popular porno video.

[–] p_consti@lemmy.world 10 points 2 days ago (1 children)

Immutable distros aren't immutable in the home folder though, they would be unusable otherwise, so that doesn't solve OPs problem of dotfiles/personal files (I know nixOS tries to get rid of dotfiles, but in my experience that almost never works, it's only helpful for replacing config files in /etc)

[–] demesisx@infosec.pub 5 points 2 days ago* (last edited 2 days ago)

home-manager for NixOS has escaped your notice. ALL of my dot files are declared in my nix-config.

Furthermore, this module would likely complete the possibility of building a grandma-proof immutable OS complete with immutable home folders: https://wiki.nixos.org/wiki/Impermanence

[–] Lumiluz@slrpnk.net 3 points 1 day ago

Pry off the delete key from the keyboard.

[–] demesisx@infosec.pub 7 points 2 days ago

I’d go with NixOS in impermanence mode coupled with home-manager and a NixOS service that does the backup “cron job” that another poster talked about (just in case).

Even if she somehow managed to brick the system, you could completely restore it within minutes to the EXACT state you left it in using just these three or four Nix tools. Hell, she could even do it herself by rebooting and selecting a previous config at the start screen. All she needs to do is be able to press down and enter.

[–] j4k3@lemmy.world 5 points 2 days ago (1 children)

Android is made for this specific use case, of a completely ignorant user.

[–] M33@lemmy.sdf.org 3 points 2 days ago (1 children)

Android is already too soft and customizable unfortunately

[–] j4k3@lemmy.world 3 points 1 day ago (1 children)

It solves the problem of setting up SELinux. All you need to do is add to the SELinux policy to further restrict the access context. No other setup, that I'm aware of, has this advanced level of user management. It really is far ahead of desktop Linux.

[–] M33@lemmy.sdf.org 2 points 1 day ago

Solving one aspect of the use case doesn’t make it a whole solution unfortunately.

[–] ada@lemmy.blahaj.zone 4 points 2 days ago

Btrfs snapshots?

[–] Tippon@lemmy.dbzer0.com 3 points 2 days ago

Would kiosk mode be any good for her use case? Add the photos etc. as a different user and give Grandma read only access, and automatically reset her home directory on boot / login.

Use an immutable distro to lessen the chance of her deleting something important, and you should be set. Maybe set up Firefox with sync so that she can add bookmarks, and have that log in automatically.

[–] huquad@lemmy.ml 3 points 2 days ago

I normally would agree, but actually had a timeshift instance that wasn't properly deleting old backups. Ended up taking over every last byte

For the file specific issues you can make some files immutable or set user permissions to prevent access

[–] RockyC@lemm.ee 2 points 2 days ago (1 children)

Backups are your friend. As others have said, just automate backing up to an external device.

[–] M33@lemmy.sdf.org 2 points 2 days ago (1 children)

It’s only part of the problem. How many times x hours will you spend restoring files and reconfiguring everything ?

Think like « the font bar has disappeared from the top menu on my libreoffice writer, help »

[–] RockyC@lemm.ee 1 points 1 day ago

I don’t know. I set up a friend of mine who was a complete computer novice with Linux Mint on his laptop well over a year ago and he has not called me for support a single time, where he was regularly calling for help with Windows. People who are afraid of technology usually don’t go randomly clicking on stuff to see what happens. I’m pretty sure that grandma is safe. Plus, if you’re spending HOURS configuring a computer for an elderly person who likely won’t use it very often…you’re doing it wrong.

What I also do is create a complete backup of all of my computers to an external SSD with Rescuezilla on a semi regular basis, so I always have something to fall back to should the entire system or storage device goes belly up. 

I personally don’t store ANY data on any of my laptops. I use Nextcloud and sync the files I want access to on the go. The rest stays on my Nextcloud server at home.

If you are looking for a (mostly) fool-proof backup system that can restore changed settings and files even from a few minutes ago, you want macOS and Apple’s Time Machine. Pull out your wallet and hand it to Tim Apple.

load more comments
view more: next ›