How safe is Haiku nowadays?

Haiku is still in beta,
but I guess some people
already use it nearly on a daily basis.
How safe is
R1/beta 4 (Revision hrev 56578+81 x86_64)?

safe against what? Crashes? Data loss due to filesystem corruptions? People hacking your machine and stealing or deleting your data?

1 Like

People hacking my machine and stealing or deleting my data.

In Haiku everything is running as the root user, so any vulnerability will have catastrophic consequences (whole unrestricted access to the machine). There are several known bugs and there were no security audit. So if you are worried about this, I recommend using a more serious operating system which put at least some effort in fixing security issues.


I use Fedora 38 and GhostBSD.
But I’m also very interested in Haiku.

What I cannot understand is why you don’t enable a username and password procedure
at least
for installing any software package
or updates
in order to somehow protect
the root user condition.


Again, everything runs as root. A password does not help against exploits, it will only help to lock you out of your machine.

Basically Haiku needs a way to compartimentalize services from each other, yes unix did this with unix users, but this mostly only protects filesystem ressources, but there is way more at stake, especially with less things protected “as files”

for example, running the image editor as your user should not be a thing, it can then access everything you can, that’s not wanted.

You also need to figure out weather to compartimentalize stuff like acces to app_server, media_server, network access etc.


also, relevant xkcd : )


I’d like to lock the machine at least from my wife or children, by a simple hotkey-L shortcut, or by a period of time

You can use the passwords screensaver for that iirc


What I meant, security-wise,
is some kind of “trick” on Haiku
to ensure that only a super user would have administrative privileges,
and NOT also any cracker who might compromise the system.


A related reply of mine in another topic: Multiuserland in Haiku - #24 by leavengood


This topic seems to be raised several times a year and once again I would recommend those who wants something similarly (or more) niche to Haiku but built “secure by design” to check out Genode. Maybe some of its ideas will come across in the fullness of time.

1 Like

Haiku has such a small Userbase, so there is a small Number of evil Black-Hat-Guys with Ambitions for hacking Haiku. Sometimes… something looking bad is in Reality a good Fortune. :sweat_smile:

1 Like

Damn! I knew that there was a conspiracy to keep userbase small. Now, I start to understand the motivation. :laughing:


This could give false safety feeling for some people, but keep in mind: You are on the rope at 50m and there is just no safety net just concrete below you. Have a nice stay.