News for hackers. Stuff that matters.
Re:Introduction to GrapheneOS by jampekka on Sunday September 14, 2025 @12:46PM (#45241238)
If the risks are so immense, surely we shouldn't be allowed root on our laptops either?
Re:Introduction to GrapheneOS by subscribed on Sunday September 14, 2025 @02:53PM (#45242313)
And there's reason why normal windows / Linux laptops are less secure.

Look, if your media player or game can just steal your ssh keys, or slightly modify your changes to your code, or inject a script into your startup sequence, that's not very safe, is it?

And that's even without having access to root (imagine if someone had written a malware like Heartbleed or Shellshock, which then could quietly persist, patch your firmware, or actually do anything it wants?)

I hope you're at least running your laptop with selinux in enforcing mode :)

Re:Introduction to GrapheneOS by jampekka on Sunday September 14, 2025 @04:39PM (#45243039)
I'm willing to take the very slight chance of getting compromised in exchange for getting things done.
Re:Introduction to GrapheneOS by yellowapple on Sunday September 14, 2025 @07:33PM (#45244414)
> Look, if your media player or game can just steal your ssh keys, or slightly modify your changes to your code, or inject a script into your startup sequence, that's not very safe, is it?

The availability of application sandboxen and the availability of root access are two entirely separate security concerns.

Re:Introduction to GrapheneOS by yupyupyups on Monday September 15, 2025 @03:22AM (#45247027)
Someone can correct me if I'm wrong.

If the GUI stack is vulnerable, then those sandboxes could be broken out of. The idea behind not allowing an app to access root is to remove the attack surface introduced by the GUI stack. An alternative interface to a GUI would be some physical connection (like usb-c). So accessing root exclusively via a console port or USB would be safer in theory.

This is true regardless if it's a phone or a PC.

Desktops are unfortunately waaaay behind something like GrapheneOS or iOS in terms of sandboxing. The closest in the desktop world is Qubes OS, but that's not a realistic alternative to normal OSes for the common user.

Re:Introduction to GrapheneOS by jampekka on Monday September 15, 2025 @04:01AM (#45247253)
Running GUI programs as root has been discouraged more or less always. Nowadays GUI programs that need root request it, via e.g. PolicyKit, for the specific operations it is needed.

I very much don't want to have some external device to have root access to my computer.

If iOS type sandboxing where I can't access most of the data at all is ahead, I'm glad to be behind.

Re:Introduction to GrapheneOS by codethief on Sunday September 14, 2025 @01:09PM (#45241426)
From a security point of view that would be a good idea, or at least making sure you don't need root for everyday tasks. Requiring root to, e.g., install & configure applications is a huge antipattern IMO.
Re:Introduction to GrapheneOS by jampekka on Sunday September 14, 2025 @01:14PM (#45241464)
Android of course requires root for installing and configuring applications. It just grants the root automatically.
Re:Introduction to GrapheneOS by oneshtein on Sunday September 14, 2025 @02:11PM (#45241993)
Developers cannot trust a random phone «owner».
Re:Introduction to GrapheneOS by strcat on Sunday September 14, 2025 @08:02PM (#45244615)
No, it doesn't. Only a few very core system processes run as root and even those are contained quite a bit via SELinux. The application layer of the OS including installing apps does not run as root or with equivalent access.
Re:Introduction to GrapheneOS by fsflover on Sunday September 14, 2025 @02:32PM (#45242147)
Have a look at https://qubes-os.org to understand why you're mistaken.
Re:Introduction to GrapheneOS by codethief on Sunday September 14, 2025 @03:33PM (#45242580)
I know Qubes. I meant "requiring root to, e.g., install & configure applications is a huge antipattern" on standard Linux distributions, where most people just use sudo in their usual shell, so an attacker merely needs to take over a non-root user account (and their .bashrc) to get root.
Re:Introduction to GrapheneOS by fsflover on Monday September 15, 2025 @08:02AM (#45248657)
> so an attacker merely needs to take over a non-root user account (and their .bashrc) to get root

So if I don't use sudo then the problem with root is solved?

Re:Introduction to GrapheneOS by bornfreddy on Sunday September 14, 2025 @12:52PM (#45241284)
Pssst, quiet, don't give them any ideas... :-/
Re:Introduction to GrapheneOS by paulhart on Sunday September 14, 2025 @12:53PM (#45241289)
That's a Chromebook, no?
Re:Introduction to GrapheneOS by jampekka on Sunday September 14, 2025 @01:08PM (#45241422)
Chromebooks have Developer Mode that gives full root.

https://www.chromium.org/chromium-os/developer-library/guide...