this post was submitted on 23 Jun 2025
39 points (93.3% liked)

Linux

56269 readers
890 users here now

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.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
 

This app just starts some productivity session while forbidding some programs from starting. Is there a Linux and most importantly FOSS version of it?

all 14 comments
sorted by: hot top controversial new old
[–] [email protected] 6 points 2 weeks ago (1 children)

LeechBlock for just the browser? And yeah AppArmor for stopping programs from launching.

[–] [email protected] 2 points 2 weeks ago

Thanks for LeechBlock as I see it's FOSS https://github.com/proginosko/LeechBlockNG

and I will try AppArmor.

[–] [email protected] 4 points 2 weeks ago (1 children)
[–] [email protected] 1 points 2 weeks ago (1 children)

Behaves as such but I don't think so.

[–] [email protected] 2 points 2 weeks ago (1 children)

If it behaves as malware it's malware in my book. Same reason I consider things like kernel level anti-cheat to be malware.

[–] [email protected] 2 points 2 weeks ago (1 children)

How the same thing can be done without being seen as a malware?

[–] [email protected] 2 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

In my opinion it can't. The core thing you want to do, prevent the user from running whatever software they desire on their own computer, is fundamentally malicious behavior even if the user is yourself

[–] [email protected] 1 points 2 weeks ago

You can also do it while having a way to stop it, it doesn't have to be forced on the user. It's just isolated productivity environment.

[–] [email protected] 12 points 2 weeks ago (1 children)

I do not know any program like that but what worked for me was creating another user account that had no access to lots of stuff.

[–] [email protected] 1 points 2 weeks ago (1 children)

Yeah that's idea but it will also lose some of the setup that I have right now. I wonder how hard it would he to tell the kernel not to spawn anything during session time.

[–] [email protected] 8 points 2 weeks ago (1 children)

With apparmor, you could enable and disable profiles that could restrict access to files and paths by name.

For network traffic, it's possible to use dnsmasq to blacklist or whitelist some domains.

[–] [email protected] 1 points 2 weeks ago

Good idea, thanks.