News for hackers. Stuff that matters.
Re:The Framework Laptop Chromebook Edition by quicklime on Thursday September 22, 2022 @03:18AM (#32935684)
It's not quite the same as "guest mode" on ChromeOS, but I make user accounts (no sudo) for non-technical family members and let them use my machines unsupervised. What are you worried about here? Should I be worried?
Re:The Framework Laptop Chromebook Edition by kweingar on Thursday September 22, 2022 @11:46AM (#32940571)
It depends on how much you trust your family members and whether you worry about non-root malware.

Looking at my Linux machine, I notice that the default permission for home directories is 755. If I don’t think to tweak that, then I’m potentially exposing a lot of sensitive data to other users (and potentially the programs they run).

I’m a proficient Linux user but not an expert, and I’m racking my brains to think of what else might be exposed to other users on my machine.

Re:The Framework Laptop Chromebook Edition by bravetraveler on Thursday September 22, 2022 @12:36PM (#32941313)
I'm similarly racking my brain, and I came to the same finding.

755 permissions on the home directory lets others see what you have, which isn't great.

The good and bad news is, permissions on the files matter too.

SSH (private) keys for example categorically won't work outside of 600 permissions, meaning nobody else can read your private key - without escalating privileges

Now, if you go defining auth secrets in your shell profile (which is world-readable by default), probably something to reconsider.

Restricting umask is a good protection for this, for what it's worth. You can make it so that newly created files/directories are not accessible to the world

Re:The Framework Laptop Chromebook Edition by kelnos on Thursday September 22, 2022 @08:35PM (#32946490)
> Looking at my Linux machine, I notice that the default permission for home directories is 755.

Whoa, what? I'm running Debian, and it's 700 for me. What distro are you running? This seems like a bad choice by the distro maintainers...

Re:The Framework Laptop Chromebook Edition by iszomer on Sunday September 25, 2022 @11:22AM (#32972206)
> I’m racking my brains to think of what else might be exposed to other users on my machine.

Including root?