31
submitted 3 weeks ago by [email protected] to c/[email protected]

On Android, there's an excellent tool called Shelter. One of it's features is to "Freeze" an app. This essentially makes it completely dormant and inactive until you unfreeze it. No background processes, network activity, etc.

I've looked into firejail and fiddled around with it a little bit, and it seems that I can set lots of parameters to a very secure state, but only as overarching rules. Ie, they take effect both while the program is in use and when it is inactive.

Ideally, I'd like to give a couple programs some access when I'm actively using them (ie, let firefox access the internet, and see my ~/Downloads folder, but only when I'm using it. Then, when I kill the process, have it automatically lose all privileges and become "frozen".

To be fair, I'm very unfamiliar with firejail so far, so afaik this could be easily done and I just haven't found the method yet. If someone could point me towards some resources, or suggest another tool besides firejail to accomplish this, I'd be very grateful.

top 4 comments
sorted by: hot top controversial new old
[-] [email protected] 7 points 3 weeks ago

I don't quite get what you want to achieve. On Android Apps might run Tasks or be active in the background. But on Linux programs usually dont have a background task, if you close them they are gone. (Unless they "minimize to taskbar")

Then, when I kill the process, have it automatically lose all privileges and become "frozen".

So, when you kill the process it's gone. Removing permission won't change anything for not running programms.

Maybe you can explain a bit more?

[-] [email protected] 4 points 3 weeks ago
[-] [email protected] 1 points 3 weeks ago

I'd be willing to use flatpak if all else fails. I've had lots of wierd issues with flatpak that overall have me leaning away from using them if at all possible. I generally prefer using native programs unless there is literally no other option.

[-] [email protected] 3 points 3 weeks ago

Bubblejail?

this post was submitted on 27 Apr 2024
31 points (100.0% liked)

Linux

44202 readers
12 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 5 years ago
MODERATORS